Wikia

WoWWiki

API GetPlayerBuffTexture

Talk0
101,499pages on
this wiki
Revision as of 12:51, May 28, 2009 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetPlayerBuffTexture

Retrieve info about a certain player buff of a certain type.

buffTexture = GetPlayerBuffTexture(buffIndex)

ArgumentsEdit

buffIndex 
The index of the buff to retrieve. Can be obtained with GetPlayerBuff.

ReturnsEdit

buffTexture 
The identifier of (path and filename of) the texture of the buff, or nil if no such buff exist.

ExampleEdit

icon:SetTexture(GetPlayerBuffTexture(buffIndex))
Result 
Retrieves buff texture and sets the icons texture to that.

See AlsoEdit

Around Wikia's network

Random Wiki