I found the frame's name (don't remember it, but I can find it again). Is the only thing I need to do is call Hide() on it? There are scripts like OnClick, perhaps others. Do I need to SetScript and nil those? Or securely hook with an empty function?
If I do need to hook or securely hook all the scripts, how do I find out which scripts exist on the frame without guessing how many and which ones? OnClick was a gimme as clicking the button opens the world map. Going from memory, I'd guess there is OnEnter or somesuch.
**EDIT** Probably wrong here, but just in case: calling Hide() on the frame will cause all children to also hide; that ought to affect any mouse interaction too. Am I overcomplicating this, and should stick to a simple Hide() and be done with it?
I have never messed directly with Blizzard's UI code before, so my questions are noob level 0.
Last edited by myrroddin : 09-24-19 at 12:58 PM.
Reason: hiding a parent affects children
|