- Messages
- 246
- Country

What is wrong with this script?
What I want to do is to animate my droptank to fall. so this tiny part need to animate from 0 to 100 once the external tank reaches 3 gallons. The droptank is attached to this tiny part, then I use another script that hide the tank once it reached 2 gallons. this way you can see the tank fall, and is hidden after a few sec's.
Code:
<part>
<name>tankanimate01</name>
<AnimLength>100</AnimLength>
<animation>
<parameter>
<code>
if{(A:FUEL TANK EXTERNAL2 QUANTITY, gallons) 3 > } els{ 0 }
</code>
<lag>50</lag>
</parameter>
</animation>
</part>
What I want to do is to animate my droptank to fall. so this tiny part need to animate from 0 to 100 once the external tank reaches 3 gallons. The droptank is attached to this tiny part, then I use another script that hide the tank once it reached 2 gallons. this way you can see the tank fall, and is hidden after a few sec's.

