WoW API < GetActionCount

Gets the available count for an action, if applicable.

text = GetActionCount(actionSlot)

Parameters Edit


actionSlot - ActionSlot 
The queried action slot.


text - Number
  • The action's count as displayed on the action's icon; e.g. for a potion action, returns the number of potions left.
  • 0, if the action has no count or if the specified action slot is empty

See Also Edit

  • Use IsConsumableAction(slot) to determine whether a returned 0 means that there are no more charges of the item, or whether it simply doesn't have a count.

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.