Difference between revisions of "Template:FuncMoveLinear notes"

From Valve Developer Community
Jump to: navigation, search
m
(Changed to use Template:Bugfix)
 
Line 1: Line 1:
 
{{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.}}
 
{{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.}}
  
{{bug|There are bugs that may arise when [[parenting]] this entity to any of these: {{ent|func_movelinear}}, {{ent|momentary_door}}, {{ent|func_lookdoor}}, {{ent|func_water_analog}}. A {{ent|func_door}} can be used as a workaround. See [[CFuncMoveLinear_ParentingFix|here]] for a code fix.}}
+
{{bugfix|There are bugs that may arise when [[parenting]] this entity to any of these: {{ent|func_movelinear}}, {{ent|momentary_door}}, {{ent|func_lookdoor}}, {{ent|func_water_analog}}. A {{ent|func_door}} can be used as a workaround.|See [[CFuncMoveLinear_ParentingFix|here]] for a code fix.|code}}
  
 
{{bug|In {{tf2}}, parenting a {{ent|move_rope}} or {{ent|keyframe_rope}} will cause the entities to disappear. Clarification required if the rope entities are deleted or are simply not rendered.}}
 
{{bug|In {{tf2}}, parenting a {{ent|move_rope}} or {{ent|keyframe_rope}} will cause the entities to disappear. Clarification required if the rope entities are deleted or are simply not rendered.}}

Latest revision as of 23:23, 21 September 2019

Note:The 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.
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 can be used as a workaround.
Code Fix: See here for a code fix.
Bug: In <Team Fortress 2>, 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.