Template:O BaseNPCMaker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (ep1 add)
m (Robot: fixing template case.)
Line 10: Line 10:
: Fired when the spawner is exhausted (all children have been spawned), and all spawned children have died.
: Fired when the spawner is exhausted (all children have been spawned), and all spawned children have died.


* '''{{ep1 add|OnAllLiveChildrenDead}}'''
* '''{{EP1 add|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).
: 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).

Revision as of 19:18, 19 January 2009

Template:O targetname

Fired when an NPC is spawned. The activator is the NPC, and the ehandle is 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 Half-Life 2: Episode One)
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).