WoW:API GetTrackingTexture: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(upgraded deprecated template) |
||
Line 1: | Line 1: | ||
{{wowapi}} | |||
Return the texture of the active tracking buff if one is active. | Return the texture of the active tracking buff if one is active. | ||
Line 20: | Line 21: | ||
myTexture:SetTexture (icon) | myTexture:SetTexture (icon) | ||
end | end | ||
Revision as of 18:13, 6 January 2007
← WoW API < GetTrackingTexture
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