Logic waves

From Sunrust Wiki
Jump to navigation Jump to search

Watches for the start of the specified wave.

Keyvalues

Wave <choices>

Any On* outputs will watch for this wave. Use -1 for all waves.
  • -1: All Waves
  • 1: Wave One
  • 2: Wave Two
  • 3: Wave Three
  • 4: Wave Four
  • 5: Wave Five
  • 6: Wave Six

Inputs

input AdvanceWave <void>

Advances to the next wave and sets the wave to active.

input EndWave <void>

Sets the time that the wave ends to this very moment.

input StartWave <void>

Sets the time that the wave begins to this very moment.

input SetWave <integer>

Sets the wave to the number specified. This does not change the wave state between active and inactive.

input SetWaves <integer>

Sets the total amount of waves to the number specified. Don't worry about class unlocks, the gamemode does not use the max waves value directly.

input SetWaveStart <integer>

Sets the time that the wave will start to TimeNow +

input SetWaveEnd <integer>

Sets the time that the wave will end to TimeNow +

Outputs

output OnWaveStart <void>

Called when the specified wave has started.

output OnWaveEnd <void>

Called when the specified wave has ended.