Skip to main content

WaveTeamSelecting

Gets called when the server is selecting a team for the wave.

Start a script section

!-- OnEvent WaveTeamSelecting
-- require *evWave $evIsAllowed

# Add your instructions here
  • Group: ServerEvents
  • Cancellable: Yes
  • Event data: WaveTeamSelectingEventArgs

Injected variables

VariableTypeDescription
*evWavereference to SpawnableWaveBase objectGets or sets the spawnable wave. See SpawnableWaveBase and its subclasses. Use the Waves to set it to a different value.
$evIsAllowedbool valueWhether the event is allowed to run.