WoW:API GetActionTexture: Difference between revisions

m
Move page script moved page API GetActionTexture to WoW:API GetActionTexture without leaving a redirect
mNo edit summary
 
m (Move page script moved page API GetActionTexture to WoW:API GetActionTexture without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<center>'''GetActionTexture''' - ''Documentation by [[User:Flickering|Flickering]]''</center>
{{wowapi}}


Return the texture for an action.
Returns the filepath for an action's texture.
texture = GetActionTexture(actionSlot)


texture = GetActionTexture(actionSlot)
{{clr}}
== Parameters ==
== Parameters ==
=== Arguments ===
''Arguments''
:(actionSlot)


:;actionSlot : Numeric - The slot number of the action to query.
:;actionSlot - [[ActionSlot]] : The queried slot.
=== Returns ===
''Returns''
:texture


:;texture : String - The texture path for the action, or nil if the slot has no action.
:;texture - String
----
:* The texture filepath for the action's icon image
__NOTOC__
:* nil, if the slot is empty
{{Template:WoW API}}
[[Category:API Action Functions|GetActionTexture]]
Anonymous user