WoW:API GetBindingAction: Difference between revisions
Jump to navigation
Jump to search
(upgraded deprecated template) |
(boilerplate) |
||
Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
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 : Optional boolean - 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. | ||
: | |||
- | |||
Revision as of 00:03, 29 April 2010
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
- Optional boolean - 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.