SetAttribute("spell",...
Is there a way to set an attribute on a secure button with a target of a spell.
That is to set a button with the attribute "spell" "blabla" where blabla is a spell that expects you to then select another spell. I keep looking around but haven't seen an example that did this. |
You could just use macrotext instead of spell:
Code:
button:SetAttribute("type1", "macro") |
I have thought of this and will try it out but in my case it isn't a spell that requires an external target like something you can mouse over.
I'm using the trap launcher which gives a buff but while its up you have to select one of your traps which you then use the green target circle to place. Still, though, I'll see what happens. |
So, if your goal is to activate Trap Launcher and to cast the Trap with a single button/click/keypress - I think that's impossible.
|
You may be right and, in that case or in the interim if I find out otherwise, I may just have to make 2 buttons for each.
If I could make it work similar to blizzard's action buttons and just have the 5 that change spell state when that buff is on that would be nice but I am thinking that's a special deal only blizzard gets to do. Thanks for the help everyone. |
All times are GMT -6. The time now is 11:45 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI