- Messages
- 10,163
- Country

Hey all,
I was experimenting with gauge code, and wanted to try to use one that Jesse had made a couple of years ago, drooping hydraulics.
Oddly, the animation occurrs backwards. Can someone point out why this happens? I tried making the 1 == to 0 ==. If I use a different animation tag (in FS9 Gmax XML), like Tailhook (to test it) it animates properly, but with this code, it appears to reverse when you power up.
Bill
I was experimenting with gauge code, and wanted to try to use one that Jesse had made a couple of years ago, drooping hydraulics.
Oddly, the animation occurrs backwards. Can someone point out why this happens? I tried making the 1 == to 0 ==. If I use a different animation tag (in FS9 Gmax XML), like Tailhook (to test it) it animates properly, but with this code, it appears to reverse when you power up.
Code:
<part>
<name>inner_door_ani</name>
<animation>
<parameter>
<code>
(A:SIM on GROUND, bool) 1 == if{ (A:ENG1 HYDRAULIC PRESSURE, psi) ! 100 * } els{ 0 }
</code>
<lag>50</lag>
</parameter>
</animation>
</part>
Bill

