Template:I FuncMoveLinear: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added to Input Templates category)
(Added Template:Lang)
Line 1: Line 1:
<noinclude>Use <code>|l4d2=1</code> to show two inputs that are for entities available in L4D2 only.</noinclude>{{minititle|FuncMoveLinear}}
<noinclude>{{lang|Template:I FuncMoveLinear}}
Use <code>|l4d2=1</code> to show two inputs that are for entities available in L4D2 only.</noinclude>{{minititle|FuncMoveLinear}}
{{IO|Open|Move the brush to the end position (''starting position + (move direction * move distance)'').}}
{{IO|Open|Move the brush to the end position (''starting position + (move direction * move distance)'').}}
{{IO|Close|Move the brush to the starting position.}}
{{IO|Close|Move the brush to the starting position.}}

Revision as of 06:16, 11 June 2022

Use |l4d2=1 to show two inputs that are for entities available in L4D2 only.FuncMoveLinear:

Open
Move the brush to the end position (starting position + (move direction * move distance)).
Close
Move the brush to the starting position.
SetPosition <float>
Move the brush to a specific position, where 0 is the starting position and 1 is the starting position + (move direction * move distance).
SetSpeed <float>
Set the speed and update immediately.