Quantcast
Overriding stuff mixed in - WoWInterface
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-26-20, 08:32 PM   #1
Banthur
A Defias Bandit
Join Date: Jun 2009
Posts: 2
Overriding stuff mixed in

I'm trying to prevent the pvp match results scoreboard from showing

PVPMatchResults:SetScript("OnEvent", onevents);

even with this though - the event that triggers it is still firing on the original blizzard ui code and the frame is showing

Both my function and the original are called

is SetScript supposed to replace a handler or add one?
I've also tried SetScript("OnEvent", nil) --original still called

maybe it is because the original frame is using a mixin for its handlers?
how do I overwrite or nil out a mixin's callbacks?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Overriding stuff mixed in

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off