Skip to main content

GetWaveTimer

Returns the duration of a given spawn wave.

Syntax​

GetWaveTimer wave_type

Returns​

duration value

Arguments​

NameRequiredTypeDescription
wave typeYesOne of the following wave types:
> chaosWave - A class representing ChaosSpawnWave.
> miniChaosWave - A class representing ChaosMiniWave.
> miniMtfWave - A class representing NtfMiniWave.
> mtfWave - A class representing NtfSpawnWave.

Details​

Will return 0s if the wave is not active or spawning.

Validated examples using this method​

On a running server​

Use serhelp GetWaveTimer to inspect the reference generated by your installed SER version.