Widget API: GameTooltip:SetUnit

Revision as of 12:08, 10 June 2006 by WoWWiki>Mikk ({{widgetmethod}})

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:SetUnit("player")

Shows the GameTooltip with informations about the player.