Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help 08-27-20, 08:35 PM
Replies: 4
Views: 7,459
Posted By Fizzlemizz
The mixin created the method on the frame...

The mixin created the method on the frame ie.

function frame:OnEvent(self, event, ...)
-- OnEvent code
end

the xml frames OnEvent <Script> tag tells it to use the frame method.

What I posted...
Forum: Lua/XML Help 08-27-20, 12:27 AM
Replies: 4
Views: 7,459
Posted By Fizzlemizz
Try: PVPMatchResults.Onevent = onevents and don't...

Try:
PVPMatchResults.Onevent = onevents
and don't use:
PVPMatchResults:SetScript("OnEvent", onevents);
Showing results 1 to 2 of 2