Wowpedia
Advertisement
Wowpedia
240,476
pages
Game Flavors
Links
Patch
Added in 1.1.0 / 1.13.2

Returns the name of the action performed by the specified binding.

action = GetBindingAction("binding"[, checkOverride]);

Arguments

binding 
string - The name of the key (eg. "BUTTON1", "1", "CTRL-G")
checkOverride 
boolean?Optional. Could be nil. - if true, override bindings will be checked, otherwise, only default (bindings.xml/SetBinding) bindings are consulted.

Returns

action 
string - action command performed by the binding. If no action is bound to the key, an empty string is returned.

See also

Advertisement