WoW:API GetActionCount: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(→‎Returns: fix what looks like a typo)
mNo edit summary
Line 16: Line 16:
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|GetActionCount]]
[[Category:API Action Functions|GetActionCount]]
[[Category:API Action Functions|GetActionCount]]

Revision as of 18:19, 27 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