If I have this in one of my functions in a python plugin:
world.BroadcastPlugin(100, "hello")
and in another python plugin:
def OnPluginBroadcast (msg, id, name, text):
world.Note("toodles")
and in a third plugin, this time in lua:
function OnPluginBroadcast (msg, id, name, text)
end
then I get these errors:
Script error
World: p
Execution of line 495 column 0
Immediate execution
Traceback (most recent call last):
File "<Script Block >", line 495, in RunPath
world.BroadcastPlugin(100, "hello")
File "<COMObject world>", line 2, in BroadcastPlugin
COM Error: Type mismatch. (0x-7ffdfffb)
Line in error:
world.BroadcastPlugin(100, "hello")
It goes away if I remove the OnPluginBroadcast in the second-python plugin.
Or is it really something that I missed? :) |