Point playermoveconstraint
Jump to navigation
Jump to search
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
- Template:Kv targetname
- 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
- Template:I targetname
- TurnOn
- Start constraining any players within the radius.
- TurnOff
- Stop constraining any players previously constrained.
Outputs
- Template:O targetname
- OnConstraintBroken
- Fired when a player breaks through the constraint. Template:Plcal