View Single Post
03-07-13, 05:15 PM   #11
Aanson
A Flamescale Wyrmkin
Join Date: Aug 2009
Posts: 124
Originally Posted by myrroddin View Post
function Bindings_OnLoad(self)
SetBindingMacro("k", "Assist Leader")
end
Hey. I could be wrong here, but it's my understanding that once you've set a binding in this way, you immediately need to save the binding before it can be used.

Saving the binding transfers the data from ram to disk (WTF\Account\ACCOUNTNAME\bindings-cache.wtf). I've always looked at it as being the equivalent of pressing confirm in the binding UI frame.

The function you'd be after is:

Lua Code:
  1. SaveBindings(index)

... where 'index' is either integer 1 or 2 (account wide or character wide respectively).



Aanson.
__________________
__________________
  Reply With Quote