Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-16-10, 12:03 PM   #1
kraftman
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 63
Binding a key directly to a companion

I'm trying to allow users of my addon to directly bind keys to companions.

SetBindingSpell("key", "spell name") doesn't seem to work, SetBindingSpell("key", "spellID") seems to set the spell properly, in that GetSpellTexture(GetBindingAction("key")) returns the correct texture for the spell, however pressing the key doesn't call the companion.

Is there another way to do this that doesn't involve either creating a macro, or creating a button?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Binding a key directly to a companion


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