Skip to content

How to define a new LVAR ? #103

Answered by Koseng
JLD95 asked this question in Q&A
Apr 24, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi,
writing to a variable is done via a simconnect event. Events need to defined and registered before they can be used.

The mobiflight events are defined in the file "events.txt" in your mobiflight addon in the community folder. You can add something there and then access it via xtouchmini. After adding something to events.txt, the simulator needs to be restarted. In the xtouch script you use the identifier before the "#" in the events file with the prefix "MobiFlight.".

If you have something really useful which is missing you can add it to the mobiflight variable and events collection on https://hubhop.mobiflight.com/. From the hubhop the events.txt is generated. And future versions wil…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JLD95
Comment options

Answer selected by JLD95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants