Info zombie spawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (→‎See also: added a link to Commentary_zombie_spawner, often asked about on forms)
Line 37: Line 37:
== See also ==
== See also ==
*[[Left 4 Dead Infected Populations]]
*[[Left 4 Dead Infected Populations]]
*[[Commentary_zombie_spawner]] for spawning special infected: boomer, hunter, smoker, tank, or witch.

Revision as of 09:55, 16 March 2011

Template:L4d series point It is an entity used to spawn a zombie.

Stub

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

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.
A set of infected to spawn. See left4dead\scripts\population.txt for possible values.

Flags

  • none

Inputs

  • SpawnZombie
Spawns a random infected.
Startle the zombie (witches only).

Outputs

  • OnSpawnNormal
Fired when the spawner creates a normal infected.
  • OnSpawnSmoker
Fired when the spawner creates a Smoker.
  • OnSpawnBoomer
Fired when the spawner creates a Boomer.
  • OnSpawnHunter
Fired when the spawner creates a Hunter.
  • OnSpawnSpitter
Fired when the spawner creates a Spitter.
  • OnSpawnJockey
Fired when the spawner creates a Jockey.
  • OnSpawnCharger
Fired when the spawner creates a Charger.
  • OnSpawnWitch
Fired when the spawner creates a Witch.
  • OnSpawnTank
Fired when the spawner creates a Tank.


See also