Detecting changes in Local similator variables #43
-
Hi there, Thought I'd get in touch about the possibility of adding a new Event similar to what is already an Action. I use the Action "Set Local Airplane Variable" quite a lot, but I also really need an Event "When local airplane variable". So that I can make the button change icon depending on what the local airplane variable is. Unless you can point me in the direction of another easy way of doing this! Thanks heaps |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, To Touch Portal, all the sim variable types are just sent as TP States. So you'd use "when plugin state changes..." TP event to monitor changes. Or maybe I don't understand what you mean? How to request new variables as TP States (including Local ones) is described here: https://github.com/mpaperno/MSFSTouchPortalPlugin/wiki/Using-Custom-States-and-Simulator-Variables Keep in mind I cannot make new events like "when plugin state changes" because this is a TP feature, not something a plugin can add. Cheers, |
Beta Was this translation helpful? Give feedback.
Hi,
To Touch Portal, all the sim variable types are just sent as TP States. So you'd use "when plugin state changes..." TP event to monitor changes.
Or maybe I don't understand what you mean?
How to request new variables as TP States (including Local ones) is described here: https://github.com/mpaperno/MSFSTouchPortalPlugin/wiki/Using-Custom-States-and-Simulator-Variables
Keep in mind I cannot make new events like "when plugin state changes" because this is a TP feature, not something a plugin can add.
Cheers,
-Max