WoW:API GetActionCount: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 16: Line 16:
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|GetActionCount]]
[[Category:API Action Functions|GetActionCount]]

Revision as of 16:40, 30 December 2005

GetActionCount - Documentation by Flickering

Get the available count for an action.

text = GetActionCount(actionSlot)

Parameters

Arguments

(actionSlot)
actionSlot
Numeric - The slot number of the action to query.

Returns

text
count
Numeric - 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.

Template:WoW API