WoW:API GetActionCount
Jump to navigation
Jump to search
Get the available count for an action.
text = GetActionCount(actionSlot)
Parameters
Arguments
- (actionSlot)
- actionSlot
- Number - The slot number of the action to query.
Returns
- count
- count
- Number If the action has a count (such as potion actions), then the count for the action is returned. 0 is returned for slots with no count as well as empty slots.
See Also
- IsConsumableAction(slot) to determine whether '0' means that there are no more charges of the item, or whether it simply doesn't have a count.