This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hello,
I'm trying to either setalpha on a button OR bar, using a spell cooldown time in custom conditionals.
local start, duration, enabled = GetSpellCooldown("Arcane Barrage");if enabled < 5 then BTB4Button50:SetAlpha(50)
Was what I came up with, but obviously it's not working.
Is there any way I can check to see if something is OFF cooldown and IFSO, setalpha/show BT4ButtonX or BT4BarX?
Thanks,
Nova
I meant to put: if enabled == 0 is what i tried.
In any event I'm trying to do this with with Arcane Orb, Aluneth, Presence of Mind... about 2-4 spells. this way while on cooldown either the bar or button alpha is very low around 10%, and when the spell comes available, increase the alpha to 100%.
Thanks again!
<3 :D
Edit: If it is only possible to do this to an entire bar, that would suffice, as I'm only looking to do this for 2-4 spells and I could use the later action bars like 8/9/10.
Bump
Closing old issues. If your issue persists, please create a new issue with full details.
To post a comment, please login or register a new account.