Hello,
I'm working in WeakAuras 2 making custom triggers and icons etc... Some of these icons I have made buttons for, using "SecureActionButtonTemplate" to cast/use spells/items. Problem is, I have put them to only load out of combat, but they still load inside of combat.
After doing my research and homework I figure here's the reason: Once entering combat WeakAuras hides the frames, but is unable to due to the "SecureActionButtonTemplate" not being able to toggle show/hide state during combat.
I don't want the button to be able to show/hide during combat, I want it only to be visibly outside of combat. Meaning, whenever in combat, it should always be hidden. Is this possible somehow? Is there an event that trigger just before entering combat that I could use to hide the button?
I googled some, the only resources on this I could find is a Armory post:
http://us.battle.net/wow/en/forum/topic/6607331807
But I tried this, and either it didn't work or it just gave loads of errors.
Any help is appreciated!