Wikia

WoWWiki

Watchlist Recent changes

API GetPlayerBuffTexture

Main Menue



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

buffTexture = GetPlayerBuffTexture(buffIndex)

Contents

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

Pages on WoWWiki

94,193pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,622photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki