Been spending hours getting familiar with making my first panel for fs2020. what a great program! Running it to my touchscreen.
I'm working on the light and apu panel for the FBW a320 neo - I have all of the normal fs2020 commands except hit my first snag with the LVARs for the seatbelt light.
I know from spad that I need to write a 0 or 1 to:
XMLVAR_SWITCH_OVHD_INTLT_SEATBELT_POSITION
I'm having a bit of a learning curve but it seems from the doc I could find that I should have something like
fs2020_variable_write("L:XMLVAR_SWITCH_OVHD_INTLT_SEATBELT_POSITION", "number", 1)
Any help is appreciated sorry if it's a simple question but I have exhausted my google skills. Thank you.
Newbie, help with first instrument for fs2020 (lvar)
Re: Newbie, help with first instrument for fs2020 (lvar)
No Lvars at the moment. We're waiting for Microsoft/Asobo to supply better documentation/functionality. We don't want to mess around in XML files.
See: viewtopic.php?f=15&t=4100&p=32058#p32058
See: viewtopic.php?f=15&t=4100&p=32058#p32058
Re: Newbie, help with first instrument for fs2020 (lvar)
Gotcha - I am realizing most of the products are using workarounds, Spad.next just created a wasm to get Lvars implemented where i now finally have a mostly working MCP-PRO with the a320 as a result of being able to monitor the Lvars on each aircraft.
What a mess FS2020 is! Maybe in 2022 we'll have a full SDK
What a mess FS2020 is! Maybe in 2022 we'll have a full SDK
Re: Newbie, help with first instrument for fs2020 (lvar)
We can also make a WASM plugin and access Lvars, we've tested this. But there's still a lot of things missing to make it into a proper plugin.