Commentary zombie spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (updated template usage.)
(-concise page)
Line 3: Line 3:


==Keyvalues==
==Keyvalues==
{{KV BaseEntity|l4d2=1}}
{{KV Targetname}}


==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}}
{{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 BaseEntity|l4d2=1}}


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


==See Also==
==See Also==
* {{ent|info_zombie_spawn}}
* {{ent|info_zombie_spawn}}

Revision as of 04:58, 23 October 2022

English (en)中文 (zh)Translate (Translate)

Template:L4d series point It is a manual spawning point for specific types of zombies for the commentary mode.

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