Custom Aura Addon Breaks in Combat
View Single Post
11-17-12, 03:18 PM
A Black Drake
Join Date: Apr 2009
Originally Posted by
Ah thanks for the answer!
SetAlpha would be OK with me. Could you quickly show me how to do it?
I'm unfamiliar with Bartender so I can't really give you code that I know works. But in your above example, if you were to replace, for example, BT4Button75:Show() with BT4Button75:SetAlpha(1), and BT4Button75:Hide() with BT4Button75:SetAlpha(0), that should give you an idea. Basically SetAlpha(0) will make something fully transparent in place of Hide(), and SetAlpha(1) will make something fully opaque in place of Show().
Of course, as I mentioned, using this method means the frames will technically always have to be shown and will probably always be clickable depending on how Bartender works, regardless of whether the buttons are transparent or not at any given moment.
View Public Profile
Send a private message to Barjack
Find More Posts by Barjack