Fandom

WoWWiki

API IsEquippedAction

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < IsEquippedAction
isTrue = IsEquippedAction(slotID)

Parameters Edit

Arguments

slotID - ActionSlot 
The tested action


Returns

isTrue - Flag
  • 1 if the specified action is an action that equips a weapon and if the action has been used to equip the current weapon
  • nil otherwise


DetailsEdit

An equip action is created if you drag a weapon from the Inventory to an action bar slot. If you click this action to equip the weapon, the action icon will obtain a green outline. It is in this case that IsEquippedAction() returns 1. All other cases (e.g. empty slot, non-equip action, equip action is of the current weapon but hasn't been used yet) will return nil.

Also on Fandom

Random Wiki