February 5, 20242 yr I am not sure how AAO resolves the use of one switch with a ON and OFF function so as to perform two distinct events. In my case, I am trying to have a Parking brake On when the button is on, and Parking brake off when the same button is released. In MSFS it's simple; how is it done in AAO. I cannot use the MSFS option, since this particular aircraft, JF F28, uses LVARS. thank you.
February 5, 20242 yr Commercial Member 1 hour ago, flyforever said: how is it done in AAO ? With the key down and key up event boxes? LORBY-SI
February 5, 20242 yr Commercial Member Option 1: - Connect AAO to the sim, wait until you are sitting in the cockpit of the F28 - Execute "Scripting->Read LVars from sim", wait until it completes - Add a new button, the LVars are in the usual event list, in the group "Local simulator variables". I suggest using the "Filter" to find the one you are looking for (=when the event selection dialog opens, immediately start typing "park" and press "Enter") - Dial in 0 or 1 into the value boxes of the Key Down and Key Up events as required. Option 2: - Enter the LVar manually using "Scripting->Input Custom Variables Manually". - Assign the button the same way as in 1., the variable will be in the group that you specify on the input dialog Option 3: - Create two scripts for ON and OFF that you assign to your button(s), using the LVar directly Parking Brake On 1·(>L:F28_CAPT_Park_Brake_Lever,·Number) Parking Brake Off 0·(>L:F28_CAPT_Park_Brake_Lever,·Number) Option 4: - Create two scripts for ON and OFF that you assign to your button(s), using the default parking brake toggle (yes, that works with the F28 too) - these scripts should then be usable in every aircraft Parking Brake On (A:BRAKE·PARKING·POSITION,·Bool)·0·==·if{·1·(>K:PARKING_BRAKES)·} Parking Brake Off (A:BRAKE·PARKING·POSITION,·Bool)·1·==·if{·1·(>K:PARKING_BRAKES)·} Edited February 5, 20242 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.