- Messages
- 549
- Country

Hi!
So, yeah I made 4 very simple codes for four switches to toggle four different visibility conditions:
They all look like this:
Only the variables change...
They work perfectly fine... Until I change from another plane to the one that uses this code or load a flight with this same plane, where all the 4 buttons vanish and the mouse turns into a "hand" inside the whole cockpit, no matter where you point it at, and it activates only the last object with the visibility code (the one I posted here).
It seems like a freak bug too me...
Did this happen to any of you people?
So, yeah I made 4 very simple codes for four switches to toggle four different visibility conditions:
They all look like this:
Code:
<PartInfo>
<Name>pointer_switch</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>point</Variable>
<Units>Bool</Units>
</Sim>
<Lag>50</Lag>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<TooltipText>Show situation display close up</TooltipText>
<CallbackCode>
(L:point,bool) ! (>L:point,bool)
</CallbackCode>
</MouseRect>
</PartInfo>
<Animation name="point_vis" guid="8c621c44-8c18-4e21-bea1-90a5da6fc8f2" type="Sim" typeParam="AutoPlay" length="100" typeParam2="point_vis" />
<PartInfo>
<Name>point_vis</Name>
<Visibility>
<Parameter>
<Code>
(L:point, bool)
</Code>
</Parameter>
</Visibility>
</PartInfo>
Only the variables change...
They work perfectly fine... Until I change from another plane to the one that uses this code or load a flight with this same plane, where all the 4 buttons vanish and the mouse turns into a "hand" inside the whole cockpit, no matter where you point it at, and it activates only the last object with the visibility code (the one I posted here).
It seems like a freak bug too me...
Did this happen to any of you people?






