Sign in to follow this  
nickpike

Fuel Pump Switch times

Recommended Posts

Hi all.In FSX I want switch a fuel pump on with(A:GENERAL ENG FUEL PUMP ON:1, bool) ! if{ (>K:TOGGLE_ELECT_FUEL_PUMP1) } The 'A' variable is a switch to stop the fuel pump from continuously toggle on and off. However, the pump does toggle continuously. It's like the 'A' variable is not setting. So I'm thinking that there is not enough time for the pump to react and reset the 'A' variable.I introduced to slow things up a bit, and hey presto, the code now behaves itself and the pump just toggles once to 'on'.Does anyone have any learned comments?Should the Update be slowed down in general to give things a chance to work?cheers,nick

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this