Template:KV FuncMoveLinear

From Valve Developer Community
Revision as of 05:45, 11 June 2022 by 1416006136 (talk | contribs) (Added Template:Lang)
Jump to navigation Jump to search

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.