Original Post
Hello all, I'm thinking of using tolua++ to bind some of my internal engine functionality to lua (so that scripts can do things like set up triggers and stuff with ease), but it seems the tolua++ documentation is fairly mediocre. Specifically, what I want to do is expose an object instance of my trigger handler class (TriggerHandler triggers;) so that I could do things like triggers.newtrigger()) from within a lua script. Does tolua++ provide a mechanism to do this? It seems fairly straight forward to expose the TriggerHandler class itself, but the documentation doesn't say anything about object instances. Thanks!