Resource:Spawnmanager: Difference between revisions
Jump to navigation
Jump to search
m (Spawnmanager moved to Resource:Spawnmanager: New namespace) |
No edit summary |
||
Line 2: | Line 2: | ||
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. | ||
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 [[Spawnmanager/spawnPlayerAtSpawnpoint|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 [[Resource:Spawnmanager/spawnPlayerAtSpawnpoint|spawnPlayerAtSpawnpoint]] to achieve this. | ||
==Functions== | ==Functions== | ||
The following functions are exported as part of spawnmanager: | The following functions are exported as part of spawnmanager: | ||
*[[Spawnmanager/createSpawnpoint|createSpawnpoint]] | *[[Resource:Spawnmanager/createSpawnpoint|createSpawnpoint]] | ||
*[[Spawnmanager/getSpawnpointRotation|getSpawnpointRotation]] | *[[Resource:Spawnmanager/getSpawnpointRotation|getSpawnpointRotation]] | ||
*[[Spawnmanager/getSpawnpointSkin|getSpawnpointSkin]] | *[[Resource:Spawnmanager/getSpawnpointSkin|getSpawnpointSkin]] | ||
*[[Spawnmanager/getSpawnpointTeam|getSpawnpointTeam]] | *[[Resource:Spawnmanager/getSpawnpointTeam|getSpawnpointTeam]] | ||
*[[Spawnmanager/setSpawnpointRotation|setSpawnpointRotation]] | *[[Resource:Spawnmanager/setSpawnpointRotation|setSpawnpointRotation]] | ||
*[[Spawnmanager/setSpawnpointSkin|setSpawnpointSkin]] | *[[Resource:Spawnmanager/setSpawnpointSkin|setSpawnpointSkin]] | ||
*[[Spawnmanager/setSpawnpointTeam|setSpawnpointTeam]] | *[[Resource:Spawnmanager/setSpawnpointTeam|setSpawnpointTeam]] | ||
*[[Spawnmanager/spawnPlayerAtSpawnpoint|spawnPlayerAtSpawnpoint]] | *[[Resource:Spawnmanager/spawnPlayerAtSpawnpoint|spawnPlayerAtSpawnpoint]] | ||
*[[Spawnmanager/setSpawnWave|setSpawnWave]] | *[[Resource:Spawnmanager/setSpawnWave|setSpawnWave]] | ||
==Events== | ==Events== | ||
The following events are provided: | The following events are provided: | ||
*[[Spawnmanager/onSpawnpointUse|onSpawnpointUse]] | *[[Resource:Spawnmanager/onSpawnpointUse|onSpawnpointUse]] |
Revision as of 20:36, 31 December 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: