WoW:API GetPlayerBuffTexture: Difference between revisions
Jump to navigation
Jump to search
GetPlayerBuffTexture -Documentation by Sarf-
mNo edit summary |
(Changed from {{WoW API}} to {{wowapi}}) |
||
Line 1: | Line 1: | ||
{{wowapi}} | |||
<center>'''GetPlayerBuffTexture''' ''-Documentation by Sarf-''</center> | |||
Retrieve info about a certain player buff of a certain type. | Retrieve info about a certain player buff of a certain type. | ||
Line 38: | Line 39: | ||
---- | ---- | ||
Revision as of 00:33, 25 August 2006
← WoW API < GetPlayerBuffTexture
Retrieve info about a certain player buff of a certain type.
buffTexture = GetPlayerBuffTexture(buffIndex)
- Arguments
- (Number buffIndex)
- buffIndex
- The index of the buff to retrieve. Can be obtained with GetPlayerBuff
- Returns
- (String buffTexture)
- buffTexture
- The identifier of (path and filename of) the texture of the buff, or nil if no such buff exist.
- Example
icon:SetTexture(GetPlayerBuffTexture(buffIndex))
- Result
Retrieves buff texture and sets the icons texture to that.
- Description
- Retrieves the texture name of a certain buff.
- See Also