CFuncMoveLinear/notes: Difference between revisions
Jump to navigation
Jump to search
Note:The
Bug:There are bugs that may arise when parenting this entity to any of these: func_movelinear, momentary_door, func_lookdoor, func_water_analog. A func_door (or for func_water_analog, func_water) can be used as a workaround. [todo tested in ?]
Bug:In
, parenting a move_rope or keyframe_rope will cause the entities to disappear. Clarification required if the rope entities are deleted or are simply not rendered. [todo tested in ?]
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
<onlyinclude>{{note|The <code>SetPosition</code> input and '''Start Position''' keyvalue do not perform any bounds checking, so values less than 0 and greater than 1 can be used. Negative values will move in the opposite direction to the movement direction, and values greater than 1 will move it in multiples of the set '''Move Distance'''. Moving past the opened/closed position does not trigger the <code>OnFullyOpen</code> and <code>OnFullyClosed</code> outputs.}} | <onlyinclude>{{note|The <code>SetPosition</code> input and '''Start Position''' keyvalue do not perform any bounds checking, so values less than 0 and greater than 1 can be used. Negative values will move in the opposite direction to the movement direction, and values greater than 1 will move it in multiples of the set '''Move Distance'''. Moving past the opened/closed position does not trigger the <code>OnFullyOpen</code> and <code>OnFullyClosed</code> outputs.}} |
Revision as of 09:47, 18 September 2024

SetPosition
input and Start Position keyvalue do not perform any bounds checking, so values less than 0 and greater than 1 can be used. Negative values will move in the opposite direction to the movement direction, and values greater than 1 will move it in multiples of the set Move Distance. Moving past the opened/closed position does not trigger the OnFullyOpen
and OnFullyClosed
outputs.
Code Fix:See here for a code fix.
Confirm:Might be fixed in Portal 2? Parented movelinears are used extensively for this game's piston platforms.

