Original Post
So I have a class that is dynamically created from within a LUA script.
What I need is to call a certain LUA script function from within that same C++ class.
But the C++ class doesn't have a lua_State. So how do I get the lua State of the lua script calling the class' methods?
Thanks for any tips on this...
What I need is to call a certain LUA script function from within that same C++ class.
But the C++ class doesn't have a lua_State. So how do I get the lua State of the lua script calling the class' methods?
Thanks for any tips on this...