Lore archive · Warcraft Wiki, 2023 dump
API SetOverrideBindingItem
Last wiki revision 2023-08-24
Creates an override binding that uses an item when triggered. SetOverrideBindingItem(owner, isPriority, key, item)
- owner:Frame - The frame this binding "belongs" to; this can later be used to clear all override bindings belonging to a particular frame.
- isPriority: - true if this is a priority binding, false otherwise. Both types of override bindings take precedence over normal bindings.
- key: - Binding to bind the command to. For example, "Q", "ALT-Q", "ALT-CTRL-SHIFT-Q", "BUTTON5"
- item: - Name or item link of the item to use when binding is triggered.
- Override bindings take precedence over the normal 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 instead.
Source
https://warcraft.wiki.gg/wiki/API_SetOverrideBindingItem · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.