WoW:API GameTooltip SetUnit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 14: Line 14:
     ''GameTooltip:SetUnit("player")''
     ''GameTooltip:SetUnit("player")''
Shows the GameTooltip with informations about the player.
Shows the GameTooltip with informations about the player.
{{template:WoW API}}

Revision as of 19:40, 30 December 2005

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.

Template:WoW API