Original Post
What is the correct way to pass objects to script files,
ie implement this pseudo code:
lua.do_file("script_file.lua", Map parameter, Object otherparameters);
My guess: I would have make a LuaMap object type that is usable by Lua, and convert my Map object to a LuaMap and throw it on a stack before executing the script file? I am only just getting into scripting.
MANY THANKS
ie implement this pseudo code:
lua.do_file("script_file.lua", Map parameter, Object otherparameters);
My guess: I would have make a LuaMap object type that is usable by Lua, and convert my Map object to a LuaMap and throw it on a stack before executing the script file? I am only just getting into scripting.
MANY THANKS