Page 1 of 1

[LUA] Way of transferring data between mixer/function scripts to widgets

Posted: Tue Feb 02, 2021 8:34 pm
by edziokredzio
Hi,

Does anyone know how to transfer data/variables between mixer/custom scripts and widgets ? look like they are on a different runtime environment. widget global variable can be accessed by other widgets, custom scripts variables can be accessed by another custom script, but widgets can't access custom script variables

Re: [LUA] Way of transferring data between mixer/function scripts to widgets

Posted: Thu Mar 25, 2021 8:21 pm
by CatRovacer
How to use Lua to replace the read data from the Elev stick with telemetry data, for example, vertical speed.
I still cannot get the full range of vertical speed values, but I need to test the modified program.
I.e - for reach vertical speed -4m/s need a quick skiing downhill. Or without them. )))