Simconnect events for F28
-
We don't supply an LVAR list as the list can be found in several locations within the sim so we would just be copying that list. Plus it could change fairly regularly so it would be a list that we would have to constantly update.
There are a few ways you can find an LVAR list in the sim, but the way I personally recommended is:
- Load a flight in the F28
- Go to MSFS Options > General Options > Developers and enable Developer Mode.
- Move your mouse to the top of the screen and on the menu go to Windows > Behaviours > Local Variables.
- In that menu, you'll see a list of every LVAR used in the F28 and its current state.
- You can search for an LVAR using the search field. So for example if you wanted to find an LVAR for the strobe lights you could type "Strobe" in the search field and you could find the LVAR for the Strobe lights which is "F28_PED_Lights_Toggle_STROBE_Switch".
- With that LVAR in view, if you then move the switch you'll see the state change in the menu.
Most of the LVARs should be named appropriately to their actual controls so the search technique should work pretty well. Let us know if you get stuck though and we can assist.
Mark - Just Flight
-
Thank you very much. In the mean time I have been studying AAO, STreamdeck and the F28. With all the debugging tools I have managed to change the TCC switch to 0 with the AAO script: 0·(>L:F28_PED_TCC_L_Toggle_Switch,·number)
And again switch to 1 or 2 by changing the number. However, because the switch has three setting variables: 0, 1 and 2, I would like to change the AAO script in one line evaluating all three variables such as: if 0 change to1, if 1 change to 2 and if 2 change to 0. I have tried and tried but nothing. Can you give me an example?Thanxs in advance
Pim Verver
-
@taguilo
Hello Tomas, it seems like you have a good understanding of AAO's.If I may ask you a similar question as the OP, I am trying to setup AAO to use a joystick button to start the engines.
I am able to assign a button for this but the engine start switch moves to the start position and very quickly goes back to the neutral position even though I am holding down the button. This is not long enough for the engines to start.
Is there a way to have that momentary switch stay in the start position as long as I hold the button down?
I currently have the button set as a fast repeat which does start the engines but it is not a very elegant solution as you can see and hear the switch toggling back and forth.
Thanks -
@lancealotg
Hi,
Unfortunately when you map a button to a spring loaded switch var in MSFS it will spring back to default right after pressing the button, even when repeat is set and/or the button is held.
Some critical switches -like AP PITCH UP/DN or AP ROLL LEFT/RIGHT have same problem, which has been resolved with extra code (for the incoming update), but cannot translate to user custom scripts like the one you are needing.
Maybe the starter could receive same logic in another update, it's something to be considered for sure.Tomas