WoW:API GetActionText: Difference between revisions
Jump to navigation
Jump to search
(Copy-edited to fit {{wowapi}}) |
mNo edit summary |
||
Line 5: | Line 5: | ||
text = GetActionText(actionSlot) | text = GetActionText(actionSlot) | ||
{{Code/End}} | {{Code/End}} | ||
== Parameters == | == Parameters == | ||
''Arguments'' | <big>'''Arguments'''</big> | ||
:;actionSlot - [[ActionSlot]] : The queried slot. | :;actionSlot - [[ActionSlot]] : The queried slot. | ||
''Returns'' | <big>'''Returns'''</big> | ||
:;text - String | :;text - String | ||
:* The action's text, if present. Macro actions use their names for their action text. | :* 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. | :* nil, if the slot has no action text, or is empty. Most standard WoW action icons don't have action text. |
Revision as of 01:16, 4 November 2006
← 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.