WoW:API GetActionTexture: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Copy-edited to fit {{wowapi}})
(removed code blocks)
Line 2: Line 2:


Returns the filepath for an action's texture.
Returns the filepath for an action's texture.
{{Code/Begin}}
texture = GetActionTexture(actionSlot)
texture = GetActionTexture(actionSlot)
 
{{Code/End}}
{{clr}}
{{clr}}
== Parameters ==
== Parameters ==

Revision as of 23:43, 12 May 2007

WoW API < GetActionTexture

Returns the filepath for an action's texture.

texture = GetActionTexture(actionSlot)

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