Resource:Spawnmanager/setSpawnWave: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Server function}} This function sets the spawn wave time. This can be used in conjunction with spawnPlayerAtSpawnpoint to spawn player...) |
Revision as of 20:34, 31 December 2007
This function sets the spawn wave time. This can be used in conjunction with spawnPlayerAtSpawnpoint to spawn players when a wave is reached.
Syntax
bool setSpawnWave ( bool enabled, [ float time = 15000 ] )
Required Arguments
- enabled: A bool representing whether to enable waves or not
Optional Arguments
- time: The time, in milliseconds, of how regularly a spawn wave occurs.
Returns
Returns true if the spawnwave was enabled or disabled, or false if a bad argument was specified.
Example
This page lacks an example
--add an example here.