CAPTAIN SIM FORUM
767 Captain II (P3D4) >> 767 Captain II - GeneralĀ  >> SDK
https://www.captainsim.org/forum/csf.pl?num=1587503503

Message started by Skipy on Apr 21st, 2020 at 9:11pm

Title: write to LVar of an IND
Post by Kees on May 16th, 2020 at 3:57pm
Why is it not possible to write to the LVAR L:G03_001_IND? The reason I would like this to do is, that I have an own MCP. This is programmed with SIOC from Open Cockpits. When I turn the knob of my speed on my MCP, open cockpits reads (via a LUA script) the value of G03_001_IND, changes it and writes is to a free offset in FSUIPC.
Now I would like to write the value of that offset to G03_001_IND in a LUA script with:
ipc.writeLvar("L:G03_001_IND", value)

But that doesn't anything.

Kind regards,
Kees

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.