Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"on button release" command

Featured Replies

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.

  • 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 by Lorby_SI

LORBY-SI

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.