WoW:API GetActionCount: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(→‎Returns: fix what looks like a typo)
Line 9: Line 9:


:;actionSlot : Numeric - The slot number of the action to query.
:;actionSlot : Numeric - The slot number of the action to query.
=== Returns ===*
=== Returns ===
:text
:text



Revision as of 04:22, 2 August 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