Commentary zombie spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Retored relevant link. Some people use commentary_zombie_spawner in non-commentary instead of info_zombie_spawn. It happens often! Awesome re-formatting job on the VDC, Barracuda.)
m (Substituted IO templates)
 
(13 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{l4d series point|commentary_zombie_spawner}} It is a manual spawning point for specific types of zombies for the commentary mode.
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->__NOTOC__
{{lang}}{{CD|CCommentaryZombieSpawner}}
{{this is a|point entity|name=commentary_zombie_spawner|series=Left 4 Dead}} It is a manual spawning point for specific types of zombies for the [[Commentary System]].
{{clr}}
==Keyvalues==
{{KV Targetname}}


== Keyvalues ==
==Inputs==
{{KV Targetname}}
{{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}}
{{KV Angles}}
{{KV Parentname}}


== Inputs ==
==Outputs==
{{IO|SpawnZombie|Spawn a specific zombie now. String format is zombie type followed by an optional target name (e.g. 'smoker,BostonJoe' or 'common_male_suit').<br/> Zombie types: boomer, common_*, hunter, smoker, tank, witch|param=string}}
{{O|OnSpawnedZombieDeath|Fired when one of the zombies spawned by this entity has died.}}
{{I Targetname}}
{{I Parentname}}


== Outputs ==
==See also==
{{IO|OnSpawnedZombieDeath|One of the zombies spawned by this entity has died}}
* {{ent|info_zombie_spawn}}
{{O Targetname}}


== See also ==
[[Category:Commentary System]]
* [[info_zombie_spawn]]

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