I think the topic says it all.
If the reason only Lua supports this is because of the fact that Lua somehow doesn't mind a superfluous parameter when calling a function, how about checking with the scripting interface for the amount of parameters the function associated with said trigger has? I believe that should be possible, and that check would only have to be done while loading.
While I love Lua, it's not a language I'm as productive in, so being able to use it in Python would be quite awesome.
If the reason only Lua supports this is because of the fact that Lua somehow doesn't mind a superfluous parameter when calling a function, how about checking with the scripting interface for the amount of parameters the function associated with said trigger has? I believe that should be possible, and that check would only have to be done while loading.
While I love Lua, it's not a language I'm as productive in, so being able to use it in Python would be quite awesome.
