Info gamemode

From Valve Developer Community
Revision as of 16:10, 1 July 2009 by JeffLane (talk | contribs) (entity definition)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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