Commentary zombie spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{l4d series point|commentary_zombie_spawner}}
{{l4d series point|commentary_zombie_spawner}}
{{stub}}
== Entity description==
== Entity description==
A manual spawning point for specific types of zombies.
A manual spawning point for specific types of zombies.
Line 9: Line 10:


== Inputs ==
== Inputs ==
; <code>SpawnZombie</code>
; <code>SpawnZombie</code>
:<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.
:<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.
Line 16: Line 16:


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

Revision as of 11:08, 16 March 2011

Template:L4d series point

Stub

This article or section is a stub. You can help by expanding it.

Entity description

A manual spawning point for specific types of zombies.

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

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.

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: boomer, common_*, hunter, smoker, tank, witch.


Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <stringRedirectInput/string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

Outputs

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


See also