Not sure if everybody already knows this (I didn’t) I just stumbled upon another case of non-published sim events. There are events to switch between managed and selected AP modes, but they are not in the SDK documentation.
Any advice available on the best config tools to use for setting these lvars using the Bravo Throttle Quadrant toggle buttons. It used to be quite simple using the Alpha Yoke config tool on P3D but the config tool is not used on MSFS as far as I am aware
Thanks in advance
But seriously, there are probably several ways and apps to do this. Just be mindful that with MSFS you will want to not only access Lvars, but HVars too.
Just for the record: the variables above are proper internal simulator variables, not LVars. They can be accessed directly through SimConnect or an XML gauge as “(A:…”. LVars and HVars can’t be accessed that easily.
Thankyou for your reply, I checked and noticed of course that they do appear in the control section of MSFS but I am correct in my thinking that there is no way you can set these variables to a value 1 and 2 directly from within MSFS
thanks I got all those working except VS_SLOT_INDEX_SET where I want to “press” the “Push to Level Off” button .
I have tried passing 0, 1, 2 and “1” , “2” to the TransmitEvent function with no effect.
There are many many buttons in the Asobo cockpits (most actually) that are not tied to K: events or A: variables. With those you need to trigger the (animation) code directly, usually by manipulating L: or H: variables. Those variables cannot be accessed with SimConnect and in any case not from the “outside”. You have to write a module that runs inside the simulator (WASM) using the Gauges API to work with that kind of variable. And you have to find out their names by analyzing the code in the various HTML/JS/XML files, they are not documented anywhere (that would be pointless, because they are basically specific to each airplane, not “global”).
Events and variables can be also found with Model Behaviour tool which can be found ingame when dev mode is enabled. I have found that it’s easiest method since you can click a button/switch and see the logic right away.
A332NX. I am setting Vertical Speed to -4000 (as a example) have selected a lower altitude (AP ALT is selected mode) and then I set VS_SLOT_INDEX_SET = 1 (selected) but it doesn’t have the effect of pulling the VS knob … so I must be missing a necessary event call ? Can anyone help?