General Tso
Panzer General
I hope this question makes sense - I admit that I'm somewhat confused with what's happening in my mod and I'm not 100% sure what a Lua context is. Anyway here's the situation as I see it.
My mod creates 4 separate Lua contexts - I need to do it this way because my screen uses the XML LuaContext field to create the extra Lua contexts. I need to share data between the 4 but I can't get it to work. No matter how I use the include statement it doesn't work as I would expect it to and causes problems. Should I be doing it differently? Would LuaEvents work in this situation. Are LuaEvents the best way to handle this?
My mod creates 4 separate Lua contexts - I need to do it this way because my screen uses the XML LuaContext field to create the extra Lua contexts. I need to share data between the 4 but I can't get it to work. No matter how I use the include statement it doesn't work as I would expect it to and causes problems. Should I be doing it differently? Would LuaEvents work in this situation. Are LuaEvents the best way to handle this?