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.

Can't use B vars from 2024 Developers Behavior Menu

Featured Replies

Just new to any of this...always only used in Sim assignments before. I did go through the manual and looked at some of the video tutorials...so please excuse me if this seems a simple question. I first tried setting a switch (Prop Deice) using the B var listed in the 2024 Developers Behavior Menu (see screen shot). the AAO green light would show it was getting a signal but would not activate the switch. So, per the video, I went to the Select Simulator Event, MSFS IEs and found an event for this. When I used that it now works.

After all that my question is will I always have to use the Select Simulator Event menu and never just able to enter the variable I get from the Sim? If I can use what I get from the sim please point me to where in the manual or a video I would get that.

Thanks

Garry

Lorby's Screen Shot.png

Garry Lundberg

  • Commercial Member

You are using the wrong syntax here. To write to a BVar you have to add a "do-word", like "_Set", "_Toggle", "_Inc", "_Dec", "_Open", "_Close" etc.

IEs and BVars are related. The IE is the "Parent", the BVars are its' "Bindings". When there is an IE there are related BVars and vice versa.

  • To read from a BVar you just use (B:bvarname).

  • To write to a BVar you have to add a "do-word", like "_Set". These suffixes can be anything, they are not pre-defined in the SDK. The aircraft developers can use anything they want.
    1 (>B:bvarname_Set)

When you are looking at the behavior code, make sure to look into "Mouserect" first thing. The mouse behavior is what you want to replicate in AAO.

In general, it is better to use IEs. They are the official method. That you can use BVars in AAO is kind of a speciality.

Edited by Lorby_SI

LORBY-SI

  • Author

Thanks...got it. Looks like I need more reading of the manual.

Just so you know, I purchased the full version but you almost lost me on the 20 min trial. It was getting very frustrated as I was referring to the manual while trying to figure out how to set up...and because I'm slow, my 20 minutes kept running out and hadn't remembered to save it. So would start over, forget to save and repeat. I think better to do what most other utilities do that have trials and such...give 2 or 5 days to get a feel for it.

Garry

Garry Lundberg

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.