Template:I FuncMoveLinear: Difference between revisions
Jump to navigation
Jump to search
m (→top: Substituted IO templates) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{minititle|FuncMoveLinear}} | |||
{{I|Open|Move the brush to the end position (''starting position + (move direction * move distance)'').}} | {{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|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|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.}} | {{I|SetSpeed|param=float|Set the speed and update immediately.}} | ||
{{#ifeq:{{{l4d2}}}|0||{{I|TeleportToTarget|param=targetname|Teleport to the origin of a given entity.|only={{l4d2}}}} | |||
{{I|ResetPosition | {{I|ResetPosition|param=float|Set a new start position, parameter relative to wherever the current one is. {{todo|Parameter might actually be optional?}}|only={{l4d2}}}}}}<noinclude> | ||
[[Category:Input Templates|FuncMoveLinear]] | [[Category:Input Templates|FuncMoveLinear]] | ||
</noinclude> | </noinclude> |
Latest revision as of 06:43, 9 May 2025
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.
- TeleportToTarget <targetname> (only in
)
- Teleport to the origin of a given entity.
- ResetPosition <float> (only in
)
- Set a new start position, parameter relative to wherever the current one is. Todo: Parameter might actually be optional?