Originally Posted by Mikord
You decide to create an event handler called OW_OnEvent. Another mod author comes along and decides to create a mod that has the initials OW and predictably create his event handler to be called....you guessed it, OW_OnEvent. Oops whoever loaded first is now hosed because both XML files try to call OW_OnEvent which just got overwritten.
|
Surely if I declare a namespace (which is just a global table variable?)
e.g. OW = {}; OW.myfunc = .....
and someone else declares the same namespace/table - same problem?