Do you only need a single lua_State * interface?
Hi,
Is it possible load and manage all the scripts in your game with a single lua_State * interface?
I am having trouble getting it to work, and im not sure if its possible. What id like to do is write a class that handles all the script functionality, like a script manager.
-gf
what problems are you having exactly? i just got done implementing a system, where i made a class called Scripting. i only initialize Lua and register my class's one time, in the begining, and close lua at the end. im able to do this with a single *lua_state member. post your code and give more detail on your problem!
FTA, my 2D futuristic action MMORPG
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement