WoW:API IsModifiedClick: Difference between revisions

From AddOn Studio
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. This function replaced [[API IsAutoLootKeyDown|IsAutoLootKeyDown]]() and [[API IsActionSelfCastKeyDown|IsActionSelfCastKeyDown]]()
 
  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
; 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.


=== Returns ===
== Notes ==
:; isHeld : 1 if the modifier is being held, nil otherwise.
* This function replaced {{api|IsAutoLootKeyDown}}() and {{api|IsActionSelfCastKeyDown}}().

Revision as of 12:02, 24 February 2010

WoW API < IsModifiedClick

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