WoW:API GetPlayerBuffTexture: Difference between revisions
Jump to navigation
Jump to search
(removedapi, format) |
m (Move page script moved page API GetPlayerBuffTexture to API GetPlayerBuffTexture without leaving a redirect) |
(No difference)
|
Latest revision as of 04:46, 15 August 2023
This is no longer a part of the World of Warcraft API.
|
← WoW API < GetPlayerBuffTexture
Retrieve info about a certain player buff of a certain type.
buffTexture = GetPlayerBuffTexture(buffIndex)
Arguments[edit]
- buffIndex
- The index of the buff to retrieve. Can be obtained with GetPlayerBuff.
Returns[edit]
- buffTexture
- The identifier of (path and filename of) the texture of the buff, or nil if no such buff exist.
Example[edit]
icon:SetTexture(GetPlayerBuffTexture(buffIndex))
- Result
- Retrieves buff texture and sets the icons texture to that.