Thread Tools Display Modes
Prev Previous Post   Next Post Next
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: 793
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
 

WoWInterface » Developer Discussions » Lua/XML Help » Help with SetScript


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off