This function sets the spawn wave time. This can be used in conjunction with spawnPlayerAtSpawnpoint to spawn players when a wave is reached.
bool setSpawnWave ( bool enabled, [ float time = 15000 ] )
- enabled: A bool representing whether to enable waves or not
- time: The time, in milliseconds, of how regularly a spawn wave occurs.
Returns true if the spawnwave was enabled or disabled, or false if a bad argument was specified.
This page lacks an example
--add an example here.