Template:O BaseNPCMaker: Difference between revisions
Jump to navigation
Jump to search
m (Robot: fixing template case.) |
TomEdwards (talk | contribs) (string, not ehandle) |
||
Line 1: | Line 1: | ||
{{O Targetname}} | {{O Targetname}} | ||
* '''OnSpawnNPC <[[ | * '''OnSpawnNPC <[[targetname]]>''' | ||
: Fired when an NPC is spawned. The activator is the NPC, and the | : Fired when an NPC is spawned. The activator is the NPC, and the targetname is of the NPC. | ||
* '''OnAllSpawned''' | * '''OnAllSpawned''' |
Revision as of 04:43, 10 June 2009
- OnSpawnNPC <targetname>
- Fired when an NPC is spawned. The activator is the NPC, and the targetname is 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 (in all games since
)
- 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).