WoW:API GetActionTexture: Difference between revisions
Jump to navigation
Jump to search
(Removed obsolete WoW API template and added {{wowapi}}) |
(Copy-edited to fit {{wowapi}}) |
||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
Returns the filepath for an action's texture. | |||
{{Code/Begin}} | |||
texture = GetActionTexture(actionSlot) | |||
{{Code/End}} | |||
{{clr}} | |||
== Parameters == | == Parameters == | ||
''Arguments'' | |||
:;actionSlot : | :;actionSlot - [[ActionSlot]] : The queried slot. | ||
''Returns'' | |||
:;texture : | :;texture - String | ||
:* The texture filepath for the action's icon image | |||
:* nil, if the slot is empty | |||
Revision as of 19:45, 16 October 2006
Returns the filepath for an action's texture. Template:Code/Begin texture = GetActionTexture(actionSlot) Template:Code/End
Parameters
Arguments
- actionSlot - ActionSlot
- The queried slot.
Returns
- texture - String
- The texture filepath for the action's icon image
- nil, if the slot is empty