granQ 293 Posted March 20, 2010 What I want to do is to have some covers for the intake to show when the airplane is parked and not been used. Once it been used once I don't want them to come back on magically. Thats why I thought to use a combination of fuel and hide. However I got the reverse effect, they are not hidden until I start the engine or when I tweaked its empty of fuel. So any ideas how I can hide it? class intake_cover { type="hide"; source="fuel"; minValue=0.999999; maxValue=1; hideValue = 0; selection="intake_cover"; }; Share this post Link to post Share on other sites
[frl]myke 15 Posted March 21, 2010 (edited) EDITH: wrote BS, be back in a few. :EDITH 2: ok...sorry for that. where are we? Ah yes, i see. Whats the outcome if you switch the values of minValue with hideValue? Edited March 21, 2010 by [FRL]Myke Share this post Link to post Share on other sites
[aps]gnat 28 Posted March 21, 2010 Suggest; Drop minValue=0.999999; maxValue=1; And try just hideValue = 0.99999; Share this post Link to post Share on other sites
granQ 293 Posted March 21, 2010 did that.. effect: No cover visible, get in plane and start engines. They are shown. So exactly what i want but "reversed".. Share this post Link to post Share on other sites
[aps]gnat 28 Posted March 22, 2010 Hmmmm .. bummer. Maybe try; initPhase=1; Share this post Link to post Share on other sites
granQ 293 Posted March 23, 2010 didn't work, assume fuel is "init" on what it start like. maybe have to use cabin or some other animation source.. :/ Share this post Link to post Share on other sites
scars09 9 Posted March 23, 2010 (edited) i have no experience with configure planes, but as i understand it, wouldnt be rotor the logic choice as animationsource? Edited March 24, 2010 by Scars09 messed up rotor and rotation Share this post Link to post Share on other sites
[aps]gnat 28 Posted March 24, 2010 Or use an Event Handler and a one-shot script to a USER animation. @Scars Yeh, but he wants it animating ONLY the first time the engine starts. Share this post Link to post Share on other sites
scars09 9 Posted March 24, 2010 clamp with treshold i would say. but you right, event handler and a useranimation would be easier to do Share this post Link to post Share on other sites
granQ 293 Posted March 25, 2010 actually even easier, did it as an selection (just wanted it hidden) and settexture. New condition is "If plane is locked and nobody is inside".. which should be 99% missions when the plane is just put in at an airbase with no intention being used. If the mission creater wants to unlock it ingame and can script it, i think he can understand that as well with some documentation. Thanks for your help anyway.. :) Annoying thing is that now i wish to use the "hide" type for another thing (lights when going reversed connecting to wheels).. but with my luck I think have to wait until I get home to a proper computer. Share this post Link to post Share on other sites