As I am waiting for the latest update to download I thought I'd ask if anyone knew about the various XML variable prefix types.
L: is, of course, the good old familiar Local variables
M: for mouse variables
K: for writing to events
A: for simulation variables
O: appears to be a very local variable particular to each component in a model (see my earlier post about how to create mouse zones: https://www.fsdeveloper.com/forum/threads/heres-how-to-write-you-own-modelbehavior-code.451037/). I guess the correct terms would be to call O: vars local variables and L: vars global variables.
H: this is something I've seen in OneStore\fs-base-aircraft-common\ModelBehaviorDefs\Asobo\Misc\Clock.xml. It appears that you write to the H: variable and then you can read it in a onInteractionEvent(_args) function in your js. In this case it is the M803 clock js which uses this to check if a button has been pressed in the 3D model. This is something I'd like to test but I can't because MSFS needs to download 21GB of data RIGHT NOW.
Anyone want to add to this list (or know if it's in the SDK docs, I couldn't find it)?
L: is, of course, the good old familiar Local variables
M: for mouse variables
K: for writing to events
A: for simulation variables
O: appears to be a very local variable particular to each component in a model (see my earlier post about how to create mouse zones: https://www.fsdeveloper.com/forum/threads/heres-how-to-write-you-own-modelbehavior-code.451037/). I guess the correct terms would be to call O: vars local variables and L: vars global variables.
H: this is something I've seen in OneStore\fs-base-aircraft-common\ModelBehaviorDefs\Asobo\Misc\Clock.xml. It appears that you write to the H: variable and then you can read it in a onInteractionEvent(_args) function in your js. In this case it is the M803 clock js which uses this to check if a button has been pressed in the 3D model. This is something I'd like to test but I can't because MSFS needs to download 21GB of data RIGHT NOW.
Anyone want to add to this list (or know if it's in the SDK docs, I couldn't find it)?



