Secureactionbuttontemplate with a variable attribute
I've made a quick WeakAura for tracking buffs/debuffs for myself and the other tank in our raid, with a button that pops up on Readycheck if there is no focus.
Left clicking the button targets the other tank, right click focuses. At present I have this (which works fine, but only on our mains): Code:
local region = aura_env.region Thanks! |
You can just call button:SetAttribute() again when you need to update it. This can't be done during combat however.
For example: Lua Code:
|
Thank you very much!
I'll have a look at this soon (once I'm done smashing my face against Torghast) |
All times are GMT -6. The time now is 01:59 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI