06-06-2012, 10:44 PM
Oh my God! - that was first thought I had when I found GetLuaPlugin(). In the Bindings. So, it's a function, seems like it should return Lua Plugin instance (looked into source: a-ha! it does!), and it's exported to Lua. Brilliant!
"Hold on, boy, look what this function needs as arguments..."
Damn! Some lua_State pointer, and I HAVE NO IDEA (remembered Meet Medic from TF2... nevermind) what that thing is...
FakeTruth, I need your torch there!
(because the idea of grabbing plugin instance in another plugin seems to be VERY desired by me)
"Hold on, boy, look what this function needs as arguments..."
Damn! Some lua_State pointer, and I HAVE NO IDEA (remembered Meet Medic from TF2... nevermind) what that thing is...
FakeTruth, I need your torch there!
(because the idea of grabbing plugin instance in another plugin seems to be VERY desired by me)