Resource:Spawnmanager: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Resource page}} | {{Resource page}} | ||
Spawnmanager is a resource that provides some default spawning functions. It provides ideal conditions for gamemodes which require fairly basic spawning systems, and uses the <spawnpoint/> element for all its functions. | Spawnmanager is a resource that provides some default spawning functions. It provides ideal conditions for gamemodes which require fairly basic spawning systems, and uses the <spawnpoint/> element for all its functions. | ||
Line 20: | Line 19: | ||
The following events are provided: | The following events are provided: | ||
*[[Resource:Spawnmanager/onSpawnpointUse|onSpawnpointUse]] | *[[Resource:Spawnmanager/onSpawnpointUse|onSpawnpointUse]] | ||
[[ru:Resource:Spawnmanager]] |
Latest revision as of 14:44, 18 May 2012
Spawnmanager is a resource that provides some default spawning functions. It provides ideal conditions for gamemodes which require fairly basic spawning systems, and uses the <spawnpoint/> element for all its functions.
Spawnmanager also offers basic support for a waves spawning system - which involves spawning multiple players at regular periods of time. Spawnmanager does not internally support delayed spawning, though setTimer can be used in conjunction with spawnPlayerAtSpawnpoint to achieve this.
Functions
The following functions are exported as part of spawnmanager:
- createSpawnpoint
- getSpawnpointRotation
- getSpawnpointSkin
- getSpawnpointTeam
- setSpawnpointRotation
- setSpawnpointSkin
- setSpawnpointTeam
- spawnPlayerAtSpawnpoint
- setSpawnWave
Events
The following events are provided: