WoW:API IsModifiedClick: Difference between revisions
Jump to navigation
Jump to search
(Added definition) |
No edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | {{wowapi}} __NOTOC__ | ||
Returns 1 if the keys for the specified action are down, nil otherwise. | |||
Returns 1 if the keys for the specified action are down, nil otherwise. | |||
isHeld = IsModifiedClick("action") | isHeld = IsModifiedClick("action") | ||
== Arguments == | == Arguments == | ||
; action : String - The action to check for. Actions defined by Blizzard: | |||
:: SELFCAST, AUTOLOOTTOGGLE, STICKYCAMERA, CHATLINK, DRESSUP, SOCKETITEM, SPLITSTACK, PICKUPACTION, COMPAREITEMS, OPENALLBAGS, QUESTWATCHTOGGLE | |||
== Returns == | |||
; isHeld : 1 if the modifier is being held, nil otherwise. | |||
== | == Notes == | ||
* This function replaced {{api|IsAutoLootKeyDown}}() and {{api|IsActionSelfCastKeyDown}}(). |
Revision as of 12:02, 24 February 2010
Returns 1 if the keys for the specified action are down, nil otherwise.
isHeld = IsModifiedClick("action")
Arguments
- action
- String - The action to check for. Actions defined by Blizzard:
- SELFCAST, AUTOLOOTTOGGLE, STICKYCAMERA, CHATLINK, DRESSUP, SOCKETITEM, SPLITSTACK, PICKUPACTION, COMPAREITEMS, OPENALLBAGS, QUESTWATCHTOGGLE
Returns
- isHeld
- 1 if the modifier is being held, nil otherwise.
Notes
- This function replaced IsAutoLootKeyDown() and IsActionSelfCastKeyDown().