API SetModifiedClick

From Wowpedia
Jump to: navigation, search

Assigns the given modifier key to the given action.

SetModifiedClick("action", "key")

Arguments

action 
String - The action to set a key for. Actions defined by Blizzard:
AUTOLOOTTOGGLE, CHATLINK, COMPAREITEMS, DRESSUP, FOCUSCAST, OPENALLBAGS, PICKUPACTION, QUESTWATCHTOGGLE, SELFCAST, SHOWITEMFLYOUT, SOCKETITEM, SPLITSTACK, STICKYCAMERA, TOKENWATCHTOGGLE
key 
String - The key to assign. Must be one of:
ALT, CTRL, SHIFT, NONE

Notes

The game only provides user options for changing the AUTOLOOTTOGGLE, FOCUSCAST and SELFCAST modifiers. All other modifiers are set to "SHIFT" by default, except for DRESSUP and SOCKETITEM, which are set to "CTRL".

An additional modifier SHOWMULTICASTFLYOUT exists, but was only used in the shaman totem UI, which was removed from the game in Patch 4.0.1.

See also