1. Hello,

    Since wow secure environment, I'm unable to hide or show UIParent frame while in combat.

    Does anybody can tell me how to do that?

    I tried to set alpha to 0 (works in combat mode) but some parts of the UI are still visible.

     

    Thanks in advance.

  2. Hello,

    Since wow secure environment, I'm unable to hide or show UIParent frame while in combat.

    Does anybody can tell me how to do that?

    I tried to set alpha to 0 (works in combat mode) but some parts of the UI are still visible.

     

    Thanks in advance.

  3. The short answer is alpha is all you can do, but even then all of the interface elements will still be able to interact with the mouse.  Every frame displayed should be a child of UIParent (otherwise it will have issues with scaling, and that's just the way things are organized).

    The only exceptions I can find in the default user interface are the tracking arrows on the minimap (question marks, etc).  Everything else disappears when I UIParent:SetAlpha(0).  What are you trying to accomplish with this, perhaps there is a better way?

  4. The short answer is alpha is all you can do, but even then all of the interface elements will still be able to interact with the mouse.  Every frame displayed should be a child of UIParent (otherwise it will have issues with scaling, and that's just the way things are organized).

    The only exceptions I can find in the default user interface [HTML tag <script> removed: not allowed] [HTML tag <script> removed: not allowed] are the tracking arrows on the minimap (question marks, etc).  Everything else disappears when I UIParent:SetAlpha(0).  What are you trying to accomplish with this, perhaps there is a better way?

    It's for 2 of my addons: ScreenPlus and CameraPlus. I realised that these addons no longer works in combat since Blizzard introduces secure things.

    First, I thought SetAlpha(0) was the solution but I saw party members spots are still visible on the minimap.

  5. Honestly I can't really think of a way around that when in combat.

  6. Ok, thanks anyway.

    I thought there was a way with "hooksecurethings" but I don't understand anything in secure mode :(

  7. Well, even hooking things there is no way to call UIParent:Hide() while in combat, it's expliclty disallowed and there's really no way around that that I am aware of.  Hooking secure functions and scripts don't REPLACE the original behavior, it just simply calls your code after the original code has run.

  8. Ok, I better understand now.