Point playermoveconstraint

From Valve Developer Community
Revision as of 20:13, 19 January 2009 by VDCBot (talk | contribs) (Robot: fixing template case.)
Jump to navigation Jump to search

Template:Wrongtitle Template:Base point

Entity Description

An entity that constrains players to a radius around itself, slowing them down the closer they get to the edge of the radius.

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

  • radius <float>
Radius to constrain players to.
  • width <float>
Width of the constraint edge. This is the distance in which to start slowing players down as they approach the edge of the radius.
  • speedfactor <float>
Speed factor applied to the player's max speed as they approach the radius edge.

Inputs

  • TurnOn
Start constraining any players within the radius.
  • TurnOff
Stop constraining any players previously constrained.

Outputs

  • OnConstraintBroken
Fired when a player breaks through the constraint. Template:PlCal