Wikia

WoWWiki

API GameTooltip SetCurrencyToken

Talk0
102,213pages on
this wiki
Revision as of 22:45, November 2, 2008 by Toadkiller (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
Widget API


GameTooltip:SetCurrencyToken(tokenId)

Shows the tooltip for the specified token type.


Arguments
(tokenId)
tokenId 
integer - id of the token type to load the tooltip for.

Returns
The function returns nothing, but the text in the displayed tooltip can be accessed with GameTooltipTextLeftN:GetText() and GameTooltipTextRightN:GetText(), where N is the line number.

Example
GameTooltip:SetCurrencyToken(2) -- Shows the Tooltip for Badge of Justice

Details
.

Around Wikia's network

Random Wiki