info_zombie_spawn
Jump to navigation
Jump to search
Code classes:
CInfoZombieSpawn
CBaseEntity
(all ents)
info_zombie_spawn
is a point entity present in both Left 4 Dead games. It's used for manually spawning zombies in the map, like the tank inside a train car in The Sacrifice. Generally, it is recommended to leave zombie spawning to the game.
Keyvalues[edit | edit source]
- Population
(population)
<string>
- Zombie population to spawn from here.
- Attack On Spawn
(AttackOnSpawn)
<boolean>
(only available in ) - Tells the spawned zombie to find and attack survivors immediately. Note: This only applies to tanks and witches. All others will attack immediately.
- Offer Spawned Tank to PZs
(offer_tank)
<boolean>
(only available in ) - If a tank is being spawned here, allow infected players to control it (versus mode).
Inputs[edit | edit source]
- SpawnZombie
- Makes a zombie spawn.
- StartleZombie
<string>
(only available in ) - If a witch was spawned here, this input makes it angry. Parameter is optional; specific survivor to attack.
Outputs[edit | edit source]
- OnSpawnNormal
- Fires when a common infected spawns.
- OnSpawnSmoker
- Fires when a smoker spawns.
- OnSpawnBoomer
- Fires when a boomer spawns.
- OnSpawnHunter
- Fires when a hunter spawns.
- OnSpawnWitch
- Fires when a witch spawns.
- OnSpawnTank
- Fires when a tank spawns.
- OnSpawnSpitter (only available in )
- Fires when a spitter spawns.
- OnSpawnJockey (only available in )
- Fires when a jockey spawns.
- OnSpawnCharger (only available in )
- Fires when a charger spawns.