Template:O BaseNPCMaker

From Valve Developer Community
Revision as of 14:26, 27 July 2011 by Barracuda (talk | contribs) (Updated)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


OnSpawnNPC <string>
Fired when an NPC is spawned. The activator is the NPC, and the string is the name of the NPC.
Fired when the spawned is exhausted (all children have been spawned).
Fired when the spawner is exhausted (all children have been spawned) and all spawned children have died.
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).


OnUser1 to OnUser4
These Outputs each fire in response to the firing of the like-numbered FireUser1 to FireUser4 Input; see User Inputs and Outputs.
OnKilled  (Only in the Left 4 Dead series)
This Output fires when the entity is killed and removed from the game.