April 5, 200620 yr 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
Create an account or sign in to comment