Wikia

WoWWiki

API SetOverrideBindingMacro

Talk0
100,577pages on
this wiki
Revision as of 01:06, June 22, 2010 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < SetOverrideBindingMacro

Creates an override binding that runs a macro.

SetOverrideBindingMacro(owner, isPriority, "key", "macro");

Arguments Edit

owner 
Frame - The frame this binding "belongs" to; this can later be used to clear all override bindings belonging to a particular frame.
isPriority 
Boolean - true if this is a priority binding, false otherwise. Both types of override bindings take precedence over normal bindings.
key 
String - Binding to bind the command to. For example, "Q", "ALT-Q", "ALT-CTRL-SHIFT-Q", "BUTTON5"
macro 
String - Name or index of the macro to run.

Details Edit

  • Override bindings take precedence over the normal SetBinding bindings. Priority override bindings take precedence over non-priority override bindings.
  • Override bindings are never saved, and will be wiped by an interface reload.
  • You cannot use this function to clear an override binding; use SetOverrideBinding instead.

See also Edit

Around Wikia's network

Random Wiki