Quantcast WoWInterface - View Single Post - re. Snowfall's screenshot (moved from Gallery thread)
View Single Post
09-14-16, 05:29 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Regardless of whether or not WA itself will let you make clickable buttons, the main issue is what you want the button to do when clicked.

It's not possible to have a WA button that casts a spell when clicked, for example -- in order to cast a spell when clicked, you need a secure action button, and WA doesn't do that.

Even if WA did make secure action buttons, they would lose the standard WA functionality of being able to appear and disappear based on arbitrary conditions -- you can only hide or show a secure action button based on the same conditions you can check for in a macro, so you would not be able to show the icon when your trinket procced, when the ability came off cooldown, when your target's health fell below 20%, etc.

See also the "Things Addons/Macros Can't Do" sticky thread. You'll be most interested in the section about "secure/protected actions".
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
  Reply With Quote