I'm trying to use CallPlugin() to pass the name of a function to a function in another plugin, basically to register a callback function if something happens in the first plugin. The problem is, I don't know of any way to call a function given just its name, or even its address, from Lua. I'm pretty new to Lua, so chances are I'm missing something obvious...
CallPlugin() quite obviously does the same thing I'm doing, though. Parameter two takes the name of the function to call in the other plugin!
CallPlugin() quite obviously does the same thing I'm doing, though. Parameter two takes the name of the function to call in the other plugin!