WoW:API GetTrackingTexture: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (typo)
 
No edit summary
Line 20: Line 20:
   myTexture:SetTexture (icon)
   myTexture:SetTexture (icon)
  end
  end
{{template:WoW API}}

Revision as of 20:08, 30 December 2005

Return the texture of the active tracking buff if one is active.

"icon" = GetTrackingTexture ()

Arguments

None


Returns
icon
The texture of the active tracking buff, or nil is no tracking buff is active

Example
local icon = GetTrackingTexture ()
if icon then
  myTexture:SetTexture (icon)
end

Template:WoW API