Point playermoveconstraint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Robot: fixing template case.)
Line 15: Line 15:


==Inputs==
==Inputs==
*{{i targetname}}
*{{I Targetname}}
*'''TurnOn'''
*'''TurnOn'''
:Start constraining any players within the radius.
:Start constraining any players within the radius.

Revision as of 19:36, 19 January 2009

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

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

Fired when a player breaks through the constraint. Template:Plcal