![]() |
This is no longer a part of the World of Warcraft API.
|
Contents
← WoW API < GetPlayerBuffTexture
Retrieve info about a certain player buff of a certain type.
buffTexture = GetPlayerBuffTexture(buffIndex)
Arguments[edit | edit source]
- buffIndex
- The index of the buff to retrieve. Can be obtained with GetPlayerBuff.
Returns[edit | edit source]
- buffTexture
- The identifier of (path and filename of) the texture of the buff, or nil if no such buff exist.
Example[edit | edit source]
icon:SetTexture(GetPlayerBuffTexture(buffIndex))
- Result
- Retrieves buff texture and sets the icons texture to that.
See Also[edit | edit source]
Community content is available under CC-BY-SA unless otherwise noted.