Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Makes a GameTooltip widget display information about a unit.

GameTooltip:SetUnit(unit)

Arguments[]

unit
string : UnitId - The unit to display the tooltip for, e.g. "player" or "target".

Example[]

Displays a tooltip with information about the player.

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