Sign in to follow this  
Guest Patrick_Waugh

How do you toggle a generator???

Recommended Posts

I can't seem to find a way to control the generators.Like if I wanted to switch GENERAL_ENGINE1_GENERATOR_SWITCH for example.Patrick

Share this post


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

Hi,Looking for these?(>K:TOGGLE_ALTERNATOR1) (>K:TOGGLE_ALTERNATOR2) (>K:TOGGLE_ALTERNATOR3) (>K:TOGGLE_ALTERNATOR4)(>K:TOGGLE_MASTER_ALTERNATOR) (>K:TOGGLE_MASTER_BATTERY_ALTERNATOR)(A:GENERAL ENG(1234) GENERATOR ACTIVE,bool) (A:GENERAL ENG(1234) GENERATOR SWITCH,bool) (A:GENERAL ENG(1234) MASTER ALTERNATOR,bool)Jan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites

KEY_TOGGLE_MASTER_ALTERNATOR // Toggles master alternator/generator switchKEY_TOGGLE_ALTERNATOR1 // Toggles alternator/generator 1 switchKEY_TOGGLE_ALTERNATOR2 // Toggles alternator/generator 2 switchKEY_TOGGLE_ALTERNATOR3 // Toggles alternator/generator 3 switchKEY_TOGGLE_ALTERNATOR4 // Toggles alternator/generator 4 switchKEY_TOGGLE_MASTER_BATTERY_ALTERNATOR // Toggles master alternator/generator switch + master battery

Share this post


Link to post
Share on other sites

>KEY_TOGGLE_MASTER_ALTERNATOR // Toggles master>alternator/generator switch>KEY_TOGGLE_ALTERNATOR1 // Toggles alternator/generator 1>switch>KEY_TOGGLE_ALTERNATOR2 // Toggles alternator/generator 2>switch>KEY_TOGGLE_ALTERNATOR3 // Toggles alternator/generator 3>switch>KEY_TOGGLE_ALTERNATOR4 // Toggles alternator/generator 4>switch>KEY_TOGGLE_MASTER_BATTERY_ALTERNATOR // Toggles master>alternator/generator switch + master batteryThanks Bill.I'll try this again.Have any suggestions for hydraulics? I only see a circuit, but no switch. So it would seem that FS doesn't really sim this, only the circut being on or off which seems to happen with the battery.Can one write to writable XML variables? Maybe that's the way to go.Patrick

Share this post


Link to post
Share on other sites

>Have any suggestions for hydraulics? I only see a circuit,>but no switch. So it would seem that FS doesn't really sim>this, only the circut being on or off which seems to happen>with the battery.The only command for hydraulics is this one:KEY_TOGGLE_HYDRAULIC_FAILUREwhich curiously enough may be used as an on/off valve or switch. ;)>Can one write to writable XML variables? Maybe that's the way>to go.You can no more "write to" XML variables than you can to their C equivalents. The only real access to either type is via the key_events in C, or the K:events in XML.

Share this post


Link to post
Share on other sites

Thanks Bill for clarifying this for me.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