Template:O BaseNPCMaker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (ehandle)
Line 1: Line 1:
{{o targetname}}
{{o targetname}}


* '''OnSpawnNPC <string>'''
* '''OnSpawnNPC <[[ehandle]]>'''
: Fired when an NPC is spawned. The activator is the NPC, and the string is the name of the NPC.
: Fired when an NPC is spawned. The activator is the NPC, and the ehandle is the NPC.


* '''OnAllSpawned'''
* '''OnAllSpawned'''

Revision as of 14:42, 6 April 2006

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.