WoW:API GetPlayerBuffTexture: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 38: Line 38:


----
----
{{Template:WoW API}}
{{WoW API}}
[[Category:API Functions|GetPlayerBuffTexture]]
[[Category:API Buff Functions|GetPlayerBuffTexture]]

Revision as of 04:40, 4 January 2006

GetPlayerBuffTexture -Documentation by Sarf-

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

buffTexture = GetPlayerBuffTexture(buffId);

Arguments
(Number buffId)
buffId
The id of the buff to retrieve.

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

Template:WoW API