Setting Multipanel buttonlight based on LVAR doesn´t work
So I wanted the button light, in this example the light for the ALT selected button to get its state by looking up the LVAR that tells if the AIrbus is in managed mode or not.
I programmed an Altidude Hold (Change Buttonlight) event, in the coditional field I entered "IF AB_AP_ALT_MODE99(LVAR) equals 0" and in the action window I put "Switch Multi Panel ALT to shortmode on (permanent on)" and of course an event that changes the button light to off when the LVAR equals 1
Well, this simply does nothing, the button is in long mode (button blinking), which isn´t actually programmed at all under any conditions, from the start of the simulator and it stays in long mode no matter what I do. When I click on the variable in condition field Spad.next shows it in 0 when I put the Airbus in Altidude managed mode and 1 when I put selected mode, so SPAD.next reads the variable and its content correctly, it just doesn´t care that I want to have the light of the Multi Panel changed based on this variable.
What did I do wrong?