WoW API: IsConsumableAction

Revision as of 22:42, 16 October 2006 by WoWWiki>Socrates200X (First version.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < IsConsumableAction


Tests if the action is linked to a consumable item.

Template:Code/Begin isTrue = IsConsumableAction(slotID) Template:Code/End


Parameters

Arguments

slotID - ActionSlot
The tested action slot.


Returns

isTrue - Boolean
  • True if the action in the specified slot is linked to a consumable, e.g. a potion action. Consumable actions have a small number displayed in the bottom right corner of their action icon.
  • False if the action is not consumable or if the action is empty.