09-01-2013, 12:03 PM
When you said polishing, the first thing that I thought of was this:
------
Phaze,
[In the context of LuaInteface, which I have minimal experience with]
Can't you just subscribe to an event within Lua?(I haven't done this in Python)
--
You could also enforce every script to contain a function that returns the value representing the overriden functions. You then read that in and parse it (shouldn't be a string).
--
Using LuaInterface, I can check globals. Maybe you can do something with globals and tables to check if a function exists?
------
Phaze,
Quote: to research or implement the ability to detect if a script has implemented or overridden a specific function for responding to events.
[In the context of LuaInteface, which I have minimal experience with]
Can't you just subscribe to an event within Lua?(I haven't done this in Python)
--
You could also enforce every script to contain a function that returns the value representing the overriden functions. You then read that in and parse it (shouldn't be a string).
--
Using LuaInterface, I can check globals. Maybe you can do something with globals and tables to check if a function exists?