Hello all,
I have written this xml code to animate a jet fighter canopy :
<Code>
(A:SIM ON GROUND,bool)
(A:LIGHT NAV,bool) and
(A:GENERAL ENG RPM:1,degrees per second) 0 != and
if{ 100 } els{ 0 }
</Code>
<Lag>100</Lag>
The idea here is to have the canopy opening couple minutes before the push back (the Light Nav condition) and have it closing right after the push back when the engine starts running (the Gen Eng RPM condition).
This code does not work for a reason I do not understand: the canopy opens OK when the Nav Lights are on but instead of closing at the engine start remains open up until the aircraft takes off.
The above makes me believe that the third condition is simply ignored. I tried several variables including the Light Beacon one and other engine related variables without success. It seems that this third condition is always ignored regardless the one I am using.
Any thoughts would be appreciated . Thanks
I have written this xml code to animate a jet fighter canopy :
<Code>
(A:SIM ON GROUND,bool)
(A:LIGHT NAV,bool) and
(A:GENERAL ENG RPM:1,degrees per second) 0 != and
if{ 100 } els{ 0 }
</Code>
<Lag>100</Lag>
The idea here is to have the canopy opening couple minutes before the push back (the Light Nav condition) and have it closing right after the push back when the engine starts running (the Gen Eng RPM condition).
This code does not work for a reason I do not understand: the canopy opens OK when the Nav Lights are on but instead of closing at the engine start remains open up until the aircraft takes off.
The above makes me believe that the third condition is simply ignored. I tried several variables including the Light Beacon one and other engine related variables without success. It seems that this third condition is always ignored regardless the one I am using.
Any thoughts would be appreciated . Thanks



