Quantcast WoWInterface - View Single Post - Help with SetScript
View Single Post
08-15-16, 01:51 AM   #2
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 792
CastSpell related API are protected, meaning you shouldn't be able to use them, only Blizzards code may use these functions. There are some few exceptions to this, but in general it would be better to go about this issue in a different way, namely using the secure template system.

To get you started:
http://wow.gamepedia.com/SecureActionButtonTemplate
__________________
Profile: Curse | Wowhead
  Reply With Quote