WoW:API GetActionText: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
(removed code block)
Line 2: Line 2:


Gets the text label for an action.
Gets the text label for an action.
{{Code/Begin}}
text = GetActionText(actionSlot)
text = GetActionText(actionSlot)
{{Code/End}}


== Parameters ==
== Parameters ==

Revision as of 23:45, 12 May 2007

WoW API < GetActionText

Gets the text label for an action.

text = GetActionText(actionSlot)

Parameters

Arguments

actionSlot - ActionSlot
The queried slot.

Returns

text - String
  • The action's text, if present. Macro actions use their names for their action text.
  • nil, if the slot has no action text, or is empty. Most standard WoW action icons don't have action text.