Point playermoveconstraint: Difference between revisions
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}} | ||
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
- 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