WoW:API GetActionText: 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|GetActionText]]
[[Category:API Action Functions|GetActionText]]

Revision as of 16:40, 30 December 2005

GetActionText - Documentation by Flickering

Get the text label for an action.

text = GetActionText(actionSlot)

Parameters

Arguments

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

Returns

text
text
String - If the action has a text label (such as macro actions), then the label is returned. nil is returned for slots with no label as well as for empty slots.

Template:WoW API