Wikia

WoWWiki

Changes: API IsModifiedClick

Edit

Back to page

m
 
Line 1: Line 1:
 
{{wowapi}} __NOTOC__
 
{{wowapi}} __NOTOC__
Returns 1 if the keys for the specified action are down, nil otherwise. This function replaced [[API IsAutoLootKeyDown|IsAutoLootKeyDown]]() and [[API IsActionSelfCastKeyDown|IsActionSelfCastKeyDown]]()
+
Returns 1 if the keys for the specified action are down, nil otherwise.
 
isHeld = IsModifiedClick("action")
 
isHeld = IsModifiedClick("action")
   
Line 9: Line 9:
 
== Returns ==
 
== Returns ==
 
; isHeld : 1 if the modifier is being held, nil otherwise.
 
; isHeld : 1 if the modifier is being held, nil otherwise.
  +
  +
== Notes ==
  +
* This function replaced {{api|IsAutoLootKeyDown}}() and {{api|IsActionSelfCastKeyDown}}().

Latest revision as of 12:02, February 24, 2010

WoW API < IsModifiedClick

Returns 1 if the keys for the specified action are down, nil otherwise.

isHeld = IsModifiedClick("action")

Arguments Edit

action 
String - The action to check for. Actions defined by Blizzard:
SELFCAST, AUTOLOOTTOGGLE, STICKYCAMERA, CHATLINK, DRESSUP, SOCKETITEM, SPLITSTACK, PICKUPACTION, COMPAREITEMS, OPENALLBAGS, QUESTWATCHTOGGLE

Returns Edit

isHeld 
1 if the modifier is being held, nil otherwise.

Notes Edit

Around Wikia's network

Random Wiki