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.

Script Help Request

Featured Replies

I'm looking for some help with an AAO script for the flaps on the Cirrus SR22T in MSFS 2024. This will be for a slider gauge for Steam Deck.

I've worked out that B:HANDLING_ FLAPS_SET is the command that works; the values the sim is looking for are 0, 8192 and 16324 (for zero, 50 and 100 percent flaps.) I can set the flaps to the first position with the 8192 value and the Long Press Key UP will reset them to Zero. I have the Long Press Key Down configured as B:HANDLING_FLAPS_SET, 16234, but this doesn't work.

Hopefully this is something that is relatively easy to set up, but at this point I'm out of ideas.

  • Commercial Member

You cannot assign three things to one action like that. Key down and key up are always fired together, so you would have to keep the button held down for as long as you need full flaps?

The usual solution is using a sequence script (seq or iseq) that moves the flaps to the next position in the sequence with every keypress.

0 50 100 50 (B:HANDLING_FLAPS) (L:AAO_CRFlaps_IDX) 4 iseq 163.84 * (>B:HANDLING_FLAPS_Set) (>L:AAO_CRFlaps_IDX)

Edited by Lorby_SI

LORBY-SI

  • Author
15 hours ago, Lorby_SI said:

You cannot assign three things to one action like that. Key down and key up are always fired together, so you would have to keep the button held down for as long as you need full flaps?

The usual solution is using a sequence script (seq or iseq) that moves the flaps to the next position in the sequence with every keypress.

0 50 100 50 (B:HANDLING_FLAPS) (L:AAO_CRFlaps_IDX) 4 iseq 163.84 * (>B:HANDLING_FLAPS_Set) (>L:AAO_CRFlaps_IDX)

That script seems to do the trick, For some reason it didn't work at first but now it does. Not sure what I did at this point. Thank you, though.

Edited by mkel2010

Create an account or sign in to comment

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.