Point playermoveconstraint: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Outputs: {{plcal}})
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=point_playermoveconstraint}}
{{wrongtitle|title=point_playermoveconstraint}}
{{base_constraint}}


==Entity Description==
==Entity Description==
Line 24: Line 25:
*'''OnConstraintBroken'''
*'''OnConstraintBroken'''
:Fired when a player breaks through the constraint. {{plcal}}
:Fired when a player breaks through the constraint. {{plcal}}
[[Category:Entities]]

Revision as of 17:50, 11 April 2008

Template:Wrongtitle Template:Base constraint

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

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