Fandom

WoWWiki

API GetPlayerBuffTexture

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

Also on Fandom

Random Wiki