WoW API: GetActionText

From AddOn Studio
Revision as of 19:36, 16 October 2006 by WoWWiki>Socrates200X (Copy-edited to fit {{wowapi}})
Jump to navigation Jump to search

WoW API < GetActionText

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

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.