Wikia

WoWWiki

API GetActionCount

Talk0
100,576pages on
this wiki
Revision as of 23:48, May 12, 2007 by Hobinheim (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetActionCount

Gets the available count for an action, if applicable.

text = GetActionCount(actionSlot)

Parameters Edit

Arguments

actionSlot - ActionSlot 
The queried action slot.

Returns

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.
Advertisement | Your ad here

Around Wikia's network

Random Wiki