Info gamemode: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(entity definition)
 
mNo edit summary
Line 21: Line 21:
== See also ==
== See also ==
* [[Left 4 Dead Level Creation]]
* [[Left 4 Dead Level Creation]]
* [[Left 4 Dead 2 Level Creation]]
* [[Survival Gametype (L4D)]]
* [[Survival Gametype (L4D)]]


[[Category:Left 4 Dead Entities]]
[[Category:Left 4 Dead Entities]]
[[Category:Left 4 Dead 2 Entities]]

Revision as of 08:12, 16 July 2010

Entity description

When a map is loaded, this entity can fire outputs depending on the current game 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

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.

Inputs

Outputs - omit if none exist

  • OnCoop
Fired when the map spawns in coop games.
  • OnVersus
Fired when the map spawns in versus games.
  • OnSurvival
Fired when the map spawns in survival games.

See also