Template:I FuncMoveLinear: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) (Added Template:Lang) |
m (→top: Substituted IO templates) |
||
Line 1: | Line 1: | ||
<noinclude>{{lang|Template:I 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}} | Use <code>|l4d2=1</code> to show two inputs that are for entities available in L4D2 only.</noinclude>{{minititle|FuncMoveLinear}} | ||
{{ | {{I|Open|Move the brush to the end position (''starting position + (move direction * move distance)'').}} | ||
{{ | {{I|Close|Move the brush to the starting position.}} | ||
{{ | {{I|SetPosition|param=float|Move the brush to a specific position, where 0 is the starting position and 1 is the starting position + (''move direction * move distance'').}} | ||
{{ | {{I|SetSpeed|param=float|Set the speed and update immediately.}}<!-- | ||
-->{{#if:{{{l4d2|}}}|{{ | -->{{#if:{{{l4d2|}}}|{{I|TeleportToTarget|since=l4d2|param=targetname|{{l4d2}} only. Teleport to the origin of a given entity.}} | ||
{{ | {{I|ResetPosition|since=l4d2|param=float|{{l4d2}} only. Set a new start position, parameter relative to wherever the current one is. {{todo|Parameter might actually be optional?}}}}}}<noinclude> | ||
[[Category:Input Templates|FuncMoveLinear]] | [[Category:Input Templates|FuncMoveLinear]] | ||
</noinclude> | </noinclude> |
Revision as of 12:55, 21 April 2025
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.