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.

Heading sync script wont work

Featured Replies

Hi, im using AAO 4.54 b08 with msfs 2020 1.39.9.0 trying to bind heading bug sync to current plane heading using included ACT_HEADING_TO_AP script which is (A:PLANE·HEADING·DEGREES·GYRO,·Degrees)·(>K:HEADING_BUG_SET) and no matter what i do - it just wont, everything seems to work: decreasing and increasing other values, AAO detects the key itself, script itself sees correct heading in debug window but nonetheless AAO just wont send input and green light on this bind never lights up. Literally any info and help really appreciated. AAO is in admin mode and plane selection doesnt matter - same result

  • Author

By more testing and playing around script editor i found that if i press test - it syncs just fine, then i close editor and try to assigned button - nothing, im at a loss

  • Commercial Member
10 hours ago, Pinkduck1 said:

By more testing and playing around script editor i found that if i press test - it syncs just fine, then i close editor and try to assigned button - nothing, im at a loss

Apparently you are doing something wrong when assigning the button? Can you share a screenshot what your assignment looks like?

LORBY-SI

  • Author

screenshot

34 minutes ago, Lorby_SI said:

Apparently you are doing something wrong when assigning the button? Can you share a screenshot what your assignment looks like?

 

  • Commercial Member
31 minutes ago, Pinkduck1 said:

Are you quite sure that the keyboard combo is even working? The "F" - keys are probably not ideal, because they already have a purpose of their own. I always use things like Ctrl-Q or Ctrl-W for testing.

Be mindful that in AAO you have to press the keys one after the other when assigning a keyboard combo on this dialog, not at the same time. 

Edited by Lorby_SI

LORBY-SI

  • Author

Assigned key on screenshot is wonky, it is only F1. Also no matter what i bind it to wont work, any other assignments and even other rpn scripts will work with F1, just not this one

3 minutes ago, Lorby_SI said:

Are you quite sure that the keyboard combo is even working? The "F" - keys are probably not ideal, because they already have a purpose of their own. 

 

  • Commercial Member
3 minutes ago, Pinkduck1 said:

Assigned key on screenshot is wonky, it is only F1. Also no matter what i bind it to wont work, any other assignments and even other rpn scripts will work with F1, just not this one

 

Sorry, no idea. Doesn't make sense to me.

One thing though: this script only uses a default SDK variable and event. This does not necessarily work for every aircraft. 

(yes, I know that you said that it works with the Test button. It is just something to be aware of).

LORBY-SI

  • Author
2 minutes ago, Lorby_SI said:

Sorry, no idea. Doesn't make sense to me.

One thing though: this script only uses a default SDK variable and event. This does not necessarily work for every aircraft. 

(yes, I know that you said that it works with the Test button. It is just something to be aware of).

Well, thats unfortunate. Anyway thank you for support. Im aware of compatipabilty with different planes but it doesnt work even with default asobo ones. Is there any way to debug this? Like log of things aao sending to sim

  • Commercial Member
6 minutes ago, Pinkduck1 said:

Well, thats unfortunate. Anyway thank you for support. Im aware of compatipabilty with different planes but it doesnt work even with default asobo ones. Is there any way to debug this? Like log of things aao sending to sim

You can watch the script processing, there is an option for that in the "Scripting" menu.

I can't check this out, I'm not at my computer. I will take a look tonight (although it really doesn't make any sense).

What you can try is assign the RPN code directly in the button. Copy the script code from the grey box at the bottom of the editor (so it doesn't have the dots in it). Then open the assignment, switch the "Key Down" option to "MAN", select "RPN:" and paste the code into the textbox.

One other thing: did you delete this assignment and tried with a new one too?

Edited by Lorby_SI

LORBY-SI

  • Author
1 minute ago, Lorby_SI said:

You can watch the script processing, there is an option for that in the "Scripting" menu.

I can't try this, I'm not at my computer. I will take a look tonight (although it really doesn't make any sense).

What you can try is assign the RPN code directly in the button. Copy the script code from the grey box at the bottom of the editor (so it doesn't have the dots in it). Then open the assignment, switch the key down to "MAN", select "RPN:" and paste the code into the box.

Definetly will try but later today because not at the pc currently

  • Author
4 hours ago, Lorby_SI said:

One other thing: did you delete this assignment and tried with a new one too?

Okay, im now at the pc and, i really dont know why and how, this advice worked. I deleted assignment and added it again and it worked fine. Turning on/off worked lmao.
Thank you so much for the help and troubleshooting tips

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.