Commentary zombie spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Made use of templates on this page, and added missing I/O.)
m (Substituted IO templates)
 
(17 intermediate revisions by 11 users not shown)
Line 1: Line 1:
{{l4d point|commentary_zombie_spawner}}
<!-- 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__
== Entity description==
{{lang}}{{CD|CCommentaryZombieSpawner}}
A manual spawning point for specific types of zombies.
{{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==
{{O|OnSpawnedZombieDeath|Fired when one of the zombies spawned by this entity has died.}}


; <code>SpawnZombie</code>
==See also==
:<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: boomer, common_*, hunter, smoker, tank, witch.
* {{ent|info_zombie_spawn}}
{{I Targetname}}
{{I Parentname}}


== Outputs ==
[[Category:Commentary System]]
 
; <code>OnSpawnedZombieDeath</code>
: Fired when one of the zombies spawned by this entity has died.
{{O Targetname}}

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