Not sure why the frost doesn't animate. It should scale based on the fuel level. I can remove all fuel and it goes away and add fuel but no animation until full? FUELMASS=GetPropellantMass(hProp1); fuel_percent1 = int(100 * (GetFuelMass()) / (FUELMASS)); SetAnimation(anim_FROST, fuel_percent1);
@BrianJ Any idea on this.
double fuelmass1 = GetFuelMass();
FUELMASS = GetPropellantMass(hProp1);// main fuel
fuel_percent1 = int(100 * (fuelmass1) / (FUELMASS));//difference of ful tank versus current fuel
SetAnimation(anim_FROST, fuel_percent1);//animate frost level based off of percent of tank
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.