Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-22-23, 09:48 AM   #1
Blandros
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Sep 2023
Posts: 13
Bind spell to a actionbutton

Is there an API or method available that allows for the assignment of a spell to an action button without the need to manually drag and drop the spell from the spellbook to the desired action button?


SetBindingSpell does this:

SetBindingSpell("key", "spell");


I need something like this:

SetBindingSpell("ACTIONBUTTON1", "Frostbolt");
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Bind spell to a actionbutton


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