- Messages
- 10,163
- Country

Hey guys,
This 'works' fine, but the animation does not.
Can anyone tell me why the switch only moves about 10% of the way and then returns back to zero? It acts like a toggle that returns to its center point. I need it to flip up, stay, flip down, stay, like a normal switch.
It was at 100 * and I tried reducing it to 50 * as its 50 KeyFrames.
This 'works' fine, but the animation does not.
Can anyone tell me why the switch only moves about 10% of the way and then returns back to zero? It acts like a toggle that returns to its center point. I need it to flip up, stay, flip down, stay, like a normal switch.
It was at 100 * and I tried reducing it to 50 * as its 50 KeyFrames.
Code:
<PartInfo>
<Name>f24_skirts_selector</Name>
<Animation>
<Parameter>
<Code>
(L:F24 PUSH SKIRTS SWITCHOUT,bool) 50 *
</Code>
<Lag>50</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<TooltipText>F24 Wheel Skirts Selector (%((L:F24 Make Skirts Disappear,enum))%{case}%{:0}ON)%{:1}OFF)%{End}</TooltipText>
<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
<CallbackCode>(M:Event) 'LeftSingle' scmp 0 == if{ (L:F24 Make Skirts Disappear,enum) 1 + 2 % (>L:F24 Make Skirts Disappear,enum) 1 (>L:XMLSND4,enum) 1 (>L:F24 PUSH SKIRTS SWITCHOUT,bool) } (M:Event) 'LeftRelease' scmp 0 == if{ (>L:F24 PUSH SKIRTS SWITCHOUT,bool) }</CallbackCode>
</MouseRect>
</PartInfo>


