This is just wierd.
I am animating my exits. The first one (the main exit) animates just fine. It is a 2 stage animation. First the trap door opens and lowers. Second, a ladder rotates off the door to extend the stairs.
Here's the code:
This is shown in the first picture.
The next exit is the gangway. I animated both the gangway and the gangway switch rotation with the first (EXIT OPEN:2) code.
The mouse rectangle is attached to a switchplate behind the physical switch, but large enough to be "Seen".
Here's where it gets wierd. I animated exit two and can't get anything to move unless I toggle exit 3 in the callback.
This action is shown in picture 2 below.
I've been unable to animate any other exits with any code or call.
Any help would be appreciated.
Jim
I am animating my exits. The first one (the main exit) animates just fine. It is a 2 stage animation. First the trap door opens and lowers. Second, a ladder rotates off the door to extend the stairs.
Here's the code:
Code:
<PartInfo>
<Name>cabxit_macon</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>EXIT OPEN:0</Variable>
<Units>percent</Units>
</Sim>
</Parameter>
</Animation>
</PartInfo>
This is shown in the first picture.
The next exit is the gangway. I animated both the gangway and the gangway switch rotation with the first (EXIT OPEN:2) code.
The mouse rectangle is attached to a switchplate behind the physical switch, but large enough to be "Seen".
Here's where it gets wierd. I animated exit two and can't get anything to move unless I toggle exit 3 in the callback.
Code:
<PartInfo>
<Name>gangway_macon</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Sim>
<Variable>EXIT OPEN:2</Variable>
<Units>percent</Units>
</Sim>
</Parameter>
</Animation>
</PartInfo>
<PartInfo>
<Name>switch_gangway</Name>
<MouseRect>
<Cursor>Hand</Cursor>
<CallbackCode>3 (>K:TOGGLE_AIRCRAFT_EXIT)</CallbackCode>
</MouseRect>
</PartInfo>
This action is shown in picture 2 below.
I've been unable to animate any other exits with any code or call.
Any help would be appreciated.
Jim
