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
| Variable | Type | Description |
|---|---|---|
*evWave | reference to SpawnableWaveBase object | Gets or sets the spawnable wave. See SpawnableWaveBase and its subclasses. Use the Waves to set it to a different value. |
$evIsAllowed | bool value | Whether the event is allowed to run. |