May 13, 20224 yr Hi there, I am trying to make an autopilot panel for the new 737 with the StreamDeck plugin. As you can see, there is a toggle button with the lit CMD button as the ON image. However, the ON image does not show when ngx_MCP_CMDA = 1.000. This is an LVar in MSFS. Is there something I may be doing wrong? I know for a fact the plugin is connected and working. I have tried the variable as S: and simply L: (without the L: in the variable entry)
May 13, 20224 yr Author Nevermind, I was just missing the ", number" after it and overthinking it. Thanks anyway for the amazing software.
May 13, 20224 yr Commercial Member Both are valid but there is a difference (L:whatever) is an AAO local variable. You can use it in RPN scripts for your own purposes, it is never synchronized with the sim. You would typically use this for counters or state variables that you only need in your scripts (L:simvar, Number) is a simulator LVar where the value is synchronized with the simulator Please make sure that you only use LVars with a unit when necessary. The interface to the sim is a limited resource and you don't want anything in there that doesn't belong. And I'd suggest getting into the habit of using the same syntax for the unit everywhere ", Number" (= comma - space - capital letter - rest). The variable names are case sensitive, so , number and , Number create two different assets targeting the same variable. Edited May 13, 20224 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.