View Single Post
08-31-12, 05:48 PM   #6
tukz
A Fallenroot Satyr
 
tukz's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 20
im using:

Code:
-- Hider Secure (mostly used to hide stuff while in pet battle)
local PetBattleHider = CreateFrame("Frame", "TukuiPetBattleHider", UIParent, "SecureHandlerStateTemplate");
PetBattleHider:SetAllPoints(UIParent)
RegisterStateDriver(PetBattleHider, "visibility", "[petbattle] hide; show")
And I parent everything on My UI that I want to hide while in pet battle to it when the addon load, except for my action bars which I use [petbattle] macro.
  Reply With Quote