I have a function fired on event
CHAT_MSG_MONSTER_SAY - ChatFrame_AddMessageEventFilter("CHAT_MSG_MONSTER_SAY", ChatFilter) :
Code:
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
end
end
end
BB_ctrFrame:SetScript("OnUpdate", nil);
end
local function ChatFilter(self, event, arg1, arg2, arg3, _, arg5, ...)
if (GetCVar("ChatBubbles")) then
BB_ctrFrame:SetScript("OnUpdate", BB_bubblizeText);
end
end
Method
child:GetNumRegions() return always
0 now.
Is now any other way to review bubblized frames on the screen?