point_playermoveconstraint


... 

point_playermoveconstraint
is a point entity available in all Source games. When given the
TurnOn
input, it constrains any players already-within a set radius around itself, then slowing them down when they get close to the edge of the radius.
Contents
Keyvalues
- Radius
(radius)
<float> - Radius to find players to constrain.
- Constraint Width
(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.
- Speed Factor
(speedfactor)
<float> - Factor applied to the player's max speed as they approach the radius edge.
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
Inputs
TurnOn
- Start constraining any players already within the radius.
TurnOff
- Stop constraining any players previously constrained.
Outputs
OnConstraintBroken
- Fired when a player breaks through the constraint. !caller = player