Original Post
I am currently working on a game in C# which is going pretty well and Ive got a system that is working pretty well for doing scripting events (user moves to a certain area which triggers an event, etc). The system I am using however is a bit limited because Ive had to implement the different situation in C#. At the same time I am aware that most games use some kind of scripting system for this type of work, Lua seems to be the most common language used. Ive checked out a bunch of articles that cover off the technical aspects of using Lua but I havent been able to find anything that explains how Lua might be implemented into a typical game engine setup. Can anyone please provide some explanation here or provide some resources that address the use of Lua from this perspective? Thanks! This is what I have been reading so far: http://www.gamedev.net/reference/articles/article2275.asp http://einfall.blogspot.com/2006/05/scripting-with-lua-in-c.html http://www.godpatterns.com/article/lua-in-c/