Sign in to follow this  
Guest Patrick_Waugh

Is there an .air file dependency?

Recommended Posts

I notice that when I trigger certain key events like: trigger_key_event(KEY_TOGGLE_MASTER_BATTERY_ALTERNATOR, 0);that in addtion to toggling the battery, it toggles the generator switch (in engine type=3 at least).I am wondering if anyone else has noticed this sort of thing.Patrick

Share this post


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

Er, what else would you expect it to do? After all, you are explicitly toggling both the battery and the alternator! ;)If you want to control 'em separately, then use these instead:KEY_TOGGLE_MASTER_BATTERYKEY_TOGGLE_MASTER_ALTERNATOR

Share this post


Link to post
Share on other sites

Well it seems with engine type=3 KEY_TOGGLE_MASTER_BATTERY does nothing (but maybe I'm wrong), and only KEY_TOGGLE_MASTER_ALTERNATOR worked to turn on the battery.Another reason for my confusion is that an alternator is not a generator, haha. But I see now how foolish of me to reify reality in a simulator. =)Patrick

Share this post


Link to post
Share on other sites

Sorry, my brain has left me today totally.My real problem is that when I toggle the master battery I also toggle GENERAL_ENGINE1_FUEL_VALVE in the B206 (engine type 3).It seems like they are tied together and while I can then control the fuel valve, any time the battery is touched it flips the fuel valve.Patrick

Share this post


Link to post
Share on other sites

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