Fandom

WoWWiki

API GameTooltip SetCurrencyToken

104,830pages on
this wiki
Add New Page
Talk0 Share
Widget API ← GameTooltip < SetCurrencyToken
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
.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.