WoW:API SetBinding: Difference between revisions

m
no edit summary
(upgraded deprecated template)
mNo edit summary
Line 15: Line 15:
;''Arguments''
;''Arguments''


:(String key, String command)
:(String key, String [[BindingID|command]])


:;key : (string) Key name of the key to bind (e.g. W, CTRL-F, BUTTON2).  ''As of 1.6 there is now error checking on this value so random strings for key names won't work anymore.''
:;key : (string) Key name of the key to bind (e.g. W, CTRL-F, BUTTON2).  ''As of 1.6 there is now error checking on this value so random strings for key names won't work anymore.''
Line 34: Line 34:


:;success : 1 if the binding succeeded.  nil if it failed or the key was unbound.
:;success : 1 if the binding succeeded.  nil if it failed or the key was unbound.
----
==See Also==
* [[API SetBindingSpell]]
* [[API SetBindingItem]]
* [[API SetBindingMacro]]
* [[API SetBindingClick]]
Anonymous user