info_zombie_spawn
class hierarchy |
---|
CInfoZombieSpawn |
info_zombie_spawn
is a point entity available in the Left 4 Dead series. It is used to spawn a zombie manually. Generally, it is recommended to leave zombie spawning to the AI Director, however there may be uses for it, such as spawning a Tank in a train car like in The Sacrifice.
Bug:Trying to spawn spitter or jockey will result in common infected being spawned with a model of spitter or jockey respectively
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- Population
(population)
<string> - Zombie population to choose among.
- Attack On Spawn
(AttackOnSpawn)
<boolean> (removed since ) - Whether this zombie should always attack on spawn. Note that this only affects Tanks and Witches at this time, all others always attack on spawn.
- Pitch Yaw Roll (Y Z X)
(angles)
<angles> - Angles spawned zombie will have
Inputs
SpawnZombie
- Spawn a zombie now.
Outputs
OnSpawnNormal
- Fired when the spawner creates a Common Infected.
OnSpawnSmoker
- Fired when the spawner creates a Smoker.
OnSpawnBoomer
- Fired when the spawner creates a Boomer.
OnSpawnHunter
- Fired when the spawner creates a Hunter.
OnSpawnWitch
- Fired when the spawner creates a Witch.
OnSpawnTank
- Fired when the spawner creates a Tank.
See also
- commentary_zombie_spawner - An alternative entity for spawning common, special, and boss infected
- Left 4 Dead Infected Populations