Template:O BaseNPCMaker: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{minititle|BaseNPCMaker}} | {{minititle|BaseNPCMaker}} | ||
{{O|OnSpawnNPC|Fired when an NPC is spawned. The activator is the NPC, and the string is the name of the NPC.|param= | {{O|OnSpawnNPC|Fired when an NPC is spawned. The activator is the NPC, and the string is the name of the NPC.|param=ehandle}} | ||
{{O|OnAllSpawned|Fired when the spawned is exhausted (all children have been spawned).}} | {{O|OnAllSpawned|Fired when the spawned is exhausted (all children have been spawned).}} | ||
{{O|OnAllSpawnedDead|Fired when the spawner is exhausted (all children have been spawned) and all spawned children have died.}} | {{O|OnAllSpawnedDead|Fired when the spawner is exhausted (all children have been spawned) and all spawned children have died.}} |
Latest revision as of 07:31, 6 May 2025
BaseNPCMaker:
- OnSpawnNPC <targetname*>
- Fired when an NPC is spawned. The activator is the NPC, and the string is the name of the NPC.
- OnAllSpawned
- Fired when the spawned is exhausted (all children have been spawned).
- OnAllSpawnedDead
- Fired when the spawner is exhausted (all children have been spawned) and all spawned children have died.
- OnAllLiveChildrenDead
- Fired when all spawned children have died. This does not mean the spawned is exhausted, so a new child may be spawned any time after this (unless the maker is disabled).