WoW:API GetActionCount

From AddOn Studio
Revision as of 22:45, 15 May 2006 by WoWWiki>Mikk
Jump to navigation Jump to search
GetActionCount - Documentation by Flickering

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.

Template:WoW API