Resource:Spawnmanager: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Introduction== Spawnmanager is a resource that provides some default spawning functions. It provides ideal conditions for gamemodes which require a fairly basic spawning systems, and us...) |
mNo edit summary |
||
Line 1: | Line 1: | ||
==Introduction== | ==Introduction== | ||
Spawnmanager is a resource that provides some default spawning functions. It provides ideal conditions for gamemodes which require | 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 [[setSpawnWave|spawnPlayerAtSpawnpoint]] to achieve this. | 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 [[setSpawnWave|spawnPlayerAtSpawnpoint]] to achieve this. |
Revision as of 19:55, 19 October 2007
Introduction
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: