Input Events and B:Vars are now frequently used in MSFS instruments. Unfortunately, these are not directly usable in Air Manager because there is no SimConnect function to access them.
But there is a way to use them in our AM instruments scripts by converting B:Vars to L:Vars and L:Vars to Input Events
This conversion process should be done in the aircraft code in specific xml files.
Thanks to SimPassion who published a post with a link to the excellent article on this.
Detailed instructions are in this pdf file:
I attached my Cabri_G2_Interior.xml and 2 instruments. You can test them in your Air Manager (version 4.2 or more). Input Events are used in the Carb Heat switch, the Clutch cover and the Rotor handle.
Yves
Using Input Events (B:Vars) in Air Manager
Re: Using Input Events (B:Vars) in Air Manager
You're my life saver. Thank you very much for sharing. (Trying to build a cockpit for the Guimbal Cabri G2).
Mike
Mike
Re: Using Input Events (B:Vars) in Air Manager
Could you maybe assist with the NR-switch ? I think it's the last missing component...
Re: Using Input Events (B:Vars) in Air Manager
Sorry.
I didn't work on this switch yet.
Yves
I didn't work on this switch yet.
Yves
-
- Posts: 2
- Joined: Mon Oct 30, 2023 6:02 pm
Re: Using Input Events (B:Vars) in Air Manager
Thank you, ylevesque, for the prompt reply!
I will digest the info you sent, and feel enlightened, and maybe get a few more switches working.
I will digest the info you sent, and feel enlightened, and maybe get a few more switches working.