Wikia

WoWWiki

API GameTooltip SetUnit

Talk0
101,736pages on
this wiki
Revision as of 10:08, October 29, 2008 by Egingell (Talk | contribs)

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


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.

Around Wikia's network

Random Wiki