Originally Posted by Layrajha
Isn't there a global variable for that anyway? Like MAX_CHAT_FRAMES or something like that? I remember something like that in ChatFrame.lua, even though it's quite old.
|
There is a constant ("NUM_CHAT_WINDOWS" = 10) but when I used it, I received errors after 7. Apparently the game only constructs 7 instances of the parent.
Originally Posted by Layrajha
Also, I'm surprised that hooking only 1 function is enough for preventing the frames to show. From what I remembered, zoning would show the frames even if the OnUpdate function was hooked, etc. I remember that I hooked at least 3 functions before I was given a hint about the "OnShow = Hide" thing.
|
In my limited testing, since hooking OnUpdate I haven't run into any circumstances where any ChatFrames reappear, including subzoning. I haven't tested a major zone change in combat yet (it's still Beta).
(I'm really hoping you'll install the addon and try some things out, Layrajha
)