Hello,
I've read that it's not possible to call a function defined in the global script from a module.
I also tried to call a function written in a module from another module, but didn't succeed.
So, as far as I know (I didn't find a solution from the script manual), it's not possible to write "callback" functions.
My goal is to extend the events built-in system with my own messages (generated by modules) caught by functions in the global script - it would be simple function calls from the modules.
Does anyone see any way to :
- either solve the precise problem I described
- or reach my general goal ?
[EDIT]I'm sorry, I noticed too late that one CAN control modules dependencies by ordering them properly in the "modules manager". Lower modules may call functions from upper modules[/EDIT]