Fandom

WoWWiki

API GameTooltip SetUnit

104,998pages on
this wiki
Add New Page
Talk0 Share
Widget API ← GameTooltip < SetUnit

Sets the UnitID for the tooltip.


Arguments

("unit")


"unit" 
String - UnitID of the wanted Unit ("player,"party1".."party4","target","raid1".."raid40", etc.)

Example

GameTooltip_SetDefaultAnchor(GameTooltip, UIParent)
GameTooltip:SetUnit("player")
GameTooltip:Show()

Shows the GameTooltip with information about the player.

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.