Template:KV FuncMoveLinear: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{minititle|FuncMoveLinear}} {{KV|Move Direction (Pitch Yaw Roll) (movedir)|angle|The direction the entity will move in.}} {{KV|Start Position (startposition)|float|Position o...")
 
m (clarifying)
Line 6: Line 6:
{{KV|Block Damage (blockdamage)|float|The amount of damage to do to any entity that blocks the brushes, per frame.
{{KV|Block Damage (blockdamage)|float|The amount of damage to do to any entity that blocks the brushes, per frame.


{{bug|Doesn't function on players who passed through a {{ent|trigger_teleport}} using {{ent|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.}}

Revision as of 05:35, 16 January 2019

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.