WoW:API GetActionText: Difference between revisions

No edit summary
Line 13: Line 13:


:;text : String - If the action has a text label (such as macro actions), then the label is returned. nil is returned for slots with no label as well as for empty slots.
:;text : String - If the action has a text label (such as macro actions), then the label is returned. nil is returned for slots with no label as well as for empty slots.
--[[User:Dekstra|Dekstra]] 12:29, 19 April 2006 (EDT)<br>
''Seems to be returning nil for slots with macros in 1.10. To reproduce the test, place any macro button in any slot, and call:''
/script if (GetActionText([slot])==nil) then ChatFrame1:AddMessage("Action text in that slot is nil"); end;
----
----
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
Anonymous user