Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API SetOverrideBindingItem
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi}} {{protectedcombatapi|2.0}} Creates an override binding that uses an item when triggered. SetOverrideBindingItem(owner, isPriority, "key", "item"); == Arguments == ; 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" ; item : String - Name or item link of the item to use when binding is triggered. == Details == * Override bindings take precedence over the normal {{api|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 {{api|SetOverrideBinding}} instead. == See also == * {{api|SetOverrideBinding}} * {{api|SetOverrideBindingSpell}} * {{api|SetOverrideBindingClick}} * {{api|SetOverrideBindingMacro}}
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Ambox
(
edit
)
Template:Api
(
edit
)
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Protectedcombatapi
(
edit
)
Template:Tocright
(
edit
)
Template:Wowapi
(
edit
)