Commentary zombie spawner: Difference between revisions
Jump to navigation
Jump to search
(New page: {{wrongtitle|title=commentary_zombie_spawner}} This point-based entity is available in Left_4_Dead. {{stub}} == Entity description== A manual spawning point for specific types of zomb...) |
(Made use of templates on this page, and added missing I/O.) |
||
Line 1: | Line 1: | ||
{{ | {{l4d point|commentary_zombie_spawner}} | ||
== Entity description== | == Entity description== | ||
A manual spawning point for specific types of zombies. | A manual spawning point for specific types of zombies. | ||
Line 12: | Line 9: | ||
== Inputs == | == Inputs == | ||
; <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. | ||
{{I Targetname}} | |||
{{I Parentname}} | |||
== Outputs == | |||
; <code>OnSpawnedZombieDeath</code> | |||
: | : Fired when one of the zombies spawned by this entity has died. | ||
{{O Targetname}} |
Revision as of 10:54, 11 January 2010
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
ortarget
).
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 <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <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 <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.