Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetPlayerBuffTexture

Last wiki revision 2020-01-08

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

buffTexture = GetPlayerBuffTexture(buffIndex)

  • buffIndex : The index of the buff to retrieve. Can be obtained with GetPlayerBuff.
  • buffTexture : The identifier of (path and filename of) the texture of the buff, or nil if no such buff exist.

icon:SetTexture(GetPlayerBuffTexture(buffIndex))

  • Result : Retrieves buff texture and sets the icons texture to that.
  • GetPlayerBuff
  • GetPlayerBuffTimeLeft

Source

https://warcraft.wiki.gg/wiki/API_GetPlayerBuffTexture · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.