commentary_zombie_spawner

From Valve Developer Community
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)
Class hierarchy
CCommentaryZombieSpawner
CPointEntity
CBaseEntity

commentary_zombie_spawner is a point entity available in Left 4 Dead series Left 4 Dead series. It is a manual spawning point for specific types of zombies for the Commentary System.

Keyvalues

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

SpawnZombie <string>
Spawn a specific zombie now. String format is zombie type followed by an optional target name (e.g., smoker,BostonJoe or common_male_suit).
Zombie types Left 4 DeadLeft 4 Dead 2: Boomer, Common_*, Hunter, Smoker, Tank, Witch.
Zombie types Left 4 Dead 2: Jockey, Charger, Spitter

Outputs

OnSpawnedZombieDeath
Fired when one of the zombies spawned by this entity has died.

See also