- Messages
- 211
- Country

I created a test switch.
This works without problems.
Now I need a visibility configuration for
<part>VISIBILITY_TESTSWITCH_OFF</part>
if TESTSWITCH < keyframe 50 is visible; if TESTSWITCH > keyframe 50 is not visible
and
<part>VISIBILITY_TESTSWITCH_ON</part>
if TESTSWITCH < keyframe 50 is not visible; if TESTSWITCH > keyframe 50 is visible
Code:
<part>
<Name>test_switch</Name>
<Animation>
<Parameter>
<Code>(L:testswitch, bool) 100 *</Code>
<Lag>600</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<tooltip_id>Center Cubby Lid</tooltip_id>
<callback_code>
(L:testswitch, bool) ! (>L:testswitch, bool)
</callback_code>
</MouseRect>
</part>
This works without problems.
Now I need a visibility configuration for
<part>VISIBILITY_TESTSWITCH_OFF</part>
if TESTSWITCH < keyframe 50 is visible; if TESTSWITCH > keyframe 50 is not visible
and
<part>VISIBILITY_TESTSWITCH_ON</part>
if TESTSWITCH < keyframe 50 is not visible; if TESTSWITCH > keyframe 50 is visible

