Info zombie spawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 17: Line 17:
:Spawns a random infected.
:Spawns a random infected.
== Outputs ==
== Outputs ==
* none
*'''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.
{{O Targetname}}


== See also ==
== See also ==

Revision as of 07:31, 12 October 2010

Template:Wrongtitle

Stub

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

Entity description

A select spawnpoint for a random infected.

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

Flags

  • none

Inputs

  • SpawnZombie
Spawns a random infected.

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