How do you handle petbattle hiding?
I'm thinking of sth. like
Lua Code:
Petbattle can only be enganged out of combat. |
You could use the [petbattle] macro conditional that others of us requested for just this sort of thing -
Code:
|
Why not just use the new [petbattle] macro conditional with the SecureStateDriver to be on the safe side?
EDIT: I took forever to hit reply. :p |
Yes I'm using that for my actionbars already. Just checking the options. :p
The thing is ... you can't just show the frame because it may have been hidden. Not sure if oUF will hide the frame by itself if you get out of petbattle and show it. Code:
RegisterStateDriver(frame, "visibility", "[petbattle] hide; [vehicleui] hide; show") What I like about SetParent is that you don't have to care about the show/hide status of the frame. |
Quote:
|
im using:
Code:
-- Hider Secure (mostly used to hide stuff while in pet battle) |
Quote:
Code:
RegisterStateDriver(frame, "visibility", "[petbattle] [vehicleui] hide; show") |
All times are GMT -6. The time now is 08:55 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI