Sign in to follow this  
Guest jimdx

Can't get backlit guage to dim with rest of LVLD 767 pa...

Recommended Posts

Hi, I'm trying to get my guage (which is backlit) to dim with the rest of the panel when I turn off the main BUS TIE on my LVLD 767 panel.I don't know this XML stuff at all, but have come up with the following code which toggles a button to open and close the cargo door (I have identical guage to open Main Exit and working on a rear cargo door). I got alot of the code from a button I download and by lookng at other guages.Here's what I got. This dims the backlight ("label_cargo.bmp") only when I turn off the battery.Thanks, if you can help (might be a no brainer for one with xml knowledge, but that's not me! lol:-lol--------------------------------------------------------------------(A:ELECTRICAL MASTER BATTERY,bool)(A:EXIT OPEN:1,percent) 0 > 2 * (G:Var1) +(A:EXIT OPEN:1,percent) 0 > 2 * (G:Var1) +(M:Event) 'LeftSingle' scmp 0 == if{ (>K:TOGGLE_AIRCRAFT_EXIT) (>K:SELECT_2) 1 (>G:Var1) } (M:Event) 'LeftRelease' scmp 0 == if{ 0 (>G:Var1) } Open/Close main exit

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