03-02-2011, 05:57 AM
Each plugin (read .lua file, each .lua file can have multiple plugins) has its own stack.
I don't know if it's possible to call functions between plugins, I haven't tried this yet. I believe it is possible to include other .lua files in your .lua file, then use cPluginManager:GetPlugin( Plugin Name ) to get a pointer to a cPlugin object, then you might be able to call functions on it... though I'm not sure.
I don't know if it's possible to call functions between plugins, I haven't tried this yet. I believe it is possible to include other .lua files in your .lua file, then use cPluginManager:GetPlugin( Plugin Name ) to get a pointer to a cPlugin object, then you might be able to call functions on it... though I'm not sure.