WoW API: GetActionText

Revision as of 23:45, 12 May 2007 by WoWWiki>Hobinheim (removed code block)

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.