3-2-1-Now Posted February 16, 2012 Report Posted February 16, 2012 Hi, Can I access LUA through FSUIPC progmatically, e.g. to use it to read L:Vars and their state, and to trigger events? I hope to be able to dig into the documentation tomorrow. Best regards, Robin.
Pete Dowson Posted February 16, 2012 Report Posted February 16, 2012 Can I access LUA through FSUIPC progmatically, e.g. to use it to read L:Vars and their state, and to trigger events? You can of course run Lua plug-ins via the facilities at offset 0D70. But also you can handle them through that offset by using LuaKill, LuaSet, LuaToggle, LuaClear and LuaValue. Thus you have ways of sending simple flag and numerical information to them and starting and stopping them. To get information from them, or sending strings like L:Var names, you would have to communicate with them via Offsets, for example the free user offsets 66C0-66FF. You'd use these to exchange data or instructions or strings. I have considered also to allow Lua Global variables to be accessible via the Offset system, but it gets rather complex and the need is small. Regards Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now