Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-19-20, 12:07 AM   #1
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
Bubbles in 9.0.1

I have a function fired on event CHAT_MSG_MONSTER_SAY - ChatFrame_AddMessageEventFilter("CHAT_MSG_MONSTER_SAY", ChatFilter) :

local function BB_bubblizeText()
  for i = 1, WorldFrame:GetNumChildren() do
     local child = select(i, WorldFrame:GetChildren());
     if not child:IsForbidden() then
        for j = 1, child:GetNumRegions() do
           region = select(j, child:GetRegions());
           ----more code
  BB_ctrFrame:SetScript("OnUpdate", nil);

local function ChatFilter(self, event, arg1, arg2, arg3, _, arg5, ...)
   if (GetCVar("ChatBubbles")) then
      BB_ctrFrame:SetScript("OnUpdate", BB_bubblizeText);
Method child:GetNumRegions() return always 0 now.
Is now any other way to review bubblized frames on the screen?

Last edited by Platine : 08-19-20 at 12:18 AM.
  Reply With Quote

WoWInterface » PTR » PTR General Discussion » Bubbles in 9.0.1

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