Template:KV FuncMoveLinear: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (clarifying)
m (Added to Keyvalue Templates category)
Line 8: Line 8:
{{bug|Block damage doesn't function on players who passed through a {{ent|trigger_teleport}} using {{ent|noclip}}, though it will have effect again if the the player goes through a trigger_teleport without noclip.}}}}
{{bug|Block damage doesn't function on players who passed through a {{ent|trigger_teleport}} using {{ent|noclip}}, though it will have effect again if the the player goes through a trigger_teleport without noclip.}}}}
{{KV|Sound played when the brush starts moving. (startsound)|sound|The sound to play when the brush starts moving.}}
{{KV|Sound played when the brush starts moving. (startsound)|sound|The sound to play when the brush starts moving.}}
{{KV|Sound played when the brush stops moving. (stopsound)|sound|The sound to play when the brush stops moving.}}
{{KV|Sound played when the brush stops moving. (stopsound)|sound|The sound to play when the brush stops moving.}}<noinclude>[[Category:Keyvalue Templates|FuncMoveLinear]]</noinclude>

Revision as of 17:43, 14 January 2020

FuncMoveLinear:

Move Direction (Pitch Yaw Roll) (movedir) ([todo internal name (i)]) <angle>
The direction the entity will move in.
Start Position (startposition) ([todo internal name (i)]) <float>
Position of brush when spawned, where 0 is the starting position and 1 is starting position + (move direction * move distance).
Speed (speed) ([todo internal name (i)]) <integer>
The speed that the brush moves, in inches per second.
Move Distance (movedistance) ([todo internal name (i)]) <float>
The distance from the starting point that the brush should move, in inches.
Block Damage (blockdamage) ([todo internal name (i)]) <float>
The amount of damage to do to any entity that blocks the brushes, per frame.
Icon-Bug.pngBug:Block damage doesn't function on players who passed through a trigger_teleport using noclip, though it will have effect again if the the player goes through a trigger_teleport without noclip.  [todo tested in ?]
Sound played when the brush starts moving. (startsound) ([todo internal name (i)]) <sound>
The sound to play when the brush starts moving.
Sound played when the brush stops moving. (stopsound) ([todo internal name (i)]) <sound>
The sound to play when the brush stops moving.