Wikia

WoWWiki

API GetPlayerBuffTexture

Talk0
98,461pages on
this wiki

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

buffTexture = GetPlayerBuffTexture(buffIndex)

Contents

Arguments

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

Returns

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

Example

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

See Also

Advertisement | Your ad here

Photos

Add a Photo
61,979photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki