Template:O BaseNPCMaker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
'''OnSpawnNPC <string>'''
{{o targetname}}
 
* '''OnSpawnNPC <string>'''
: 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 string is the name of the NPC.



Revision as of 17:45, 11 July 2005

Template:O targetname

  • OnSpawnNPC <string>
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.