Advertisement

Do you only need a single lua_State * interface?

Started by July 20, 2004 08:28 AM
0 comments, last by graveyard filla 20 years, 1 month ago
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