m
Move page script moved page API GetActionText to WoW:API GetActionText without leaving a redirect
mNo edit summary |
m (Move page script moved page API GetActionText to WoW:API GetActionText without leaving a redirect) |
||
| (5 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | |||
Gets the text label for an action. | |||
text = GetActionText(actionSlot) | |||
== Parameters == | == Parameters == | ||
<big>'''Arguments'''</big> | |||
: | |||
:;actionSlot - [[ActionSlot]] : The queried slot. | |||
<big>'''Returns'''</big> | |||
:;text : | :;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. | |||