Template:I BaseNPCMaker

From Valve Developer Community
Revision as of 16:42, 11 July 2005 by Ts2do (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Spawn

Spawns an NPC.
  • Toggle
Toggles the spawner enabled/disabled state.
  • AddMaxChildren <integer>
Adds to the number of NPCs that can spawn before the spawner is exhausted. If an exhausted spawner is given some children to spawn, it still wont begin spawning until it is re-enabled with the Enable input.
  • SetMaxChildren <integer>
Sets the number of NPCs that can spawn before the spawner is exhausted. If an exhausted spawner is given some children to spawn, it still won't begin spawning until it is re-enabled with the Enable input.
  • SetMaxLiveChildren <integer>
Sets the maximum number of NPCs that can be alive at any one time from this spawner.
  • SetSpawnFrequency <float>
Sets how often (in seconds) a new NPC will be spawned.