Commentary zombie spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (Substituted IO templates)
 
Line 7: Line 7:


==Inputs==
==Inputs==
{{IO|SpawnZombie|Spawn a specific zombie now. String format is zombie type followed by an optional target name (e.g., <tt>smoker,BostonJoe</tt> or <tt>common_male_suit</tt>).<br/> Zombie types {{l4d}}{{l4d2}}: Boomer, Common_*, Hunter, Smoker, Tank, Witch.<br> Zombie types {{l4d2}}: Jockey, Charger, Spitter|param=string}}
{{I|SpawnZombie|Spawn a specific zombie now. String format is zombie type followed by an optional target name (e.g., <tt>smoker,BostonJoe</tt> or <tt>common_male_suit</tt>).<br/> Zombie types {{l4d}}{{l4d2}}: Boomer, Common_*, Hunter, Smoker, Tank, Witch.<br> Zombie types {{l4d2}}: Jockey, Charger, Spitter|param=string}}


==Outputs==
==Outputs==
{{IO|OnSpawnedZombieDeath|Fired when one of the zombies spawned by this entity has died.}}
{{O|OnSpawnedZombieDeath|Fired when one of the zombies spawned by this entity has died.}}


==See also==
==See also==

Latest revision as of 23:04, 20 April 2025

English (en)中文 (zh)Translate (Translate)
C++ Class hierarchy
CCommentaryZombieSpawner
CPointEntity
CBaseEntity

commentary_zombie_spawner is a point entity available in Left 4 Dead seriesLeft 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>[ Edit ]
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 <stringRedirectInput/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