Wowpedia

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

READ MORE

Wowpedia
Register
m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}})
m (Functional example and spelling)
Line 14: Line 14:
 
----
 
----
 
'''Example'''
 
'''Example'''
  +
GameTooltip_SetDefaultAnchor(GameTooltip, UIParent)
''GameTooltip:SetUnit("player")''
 
Shows the GameTooltip with informations about the player.
+
GameTooltip:'''SetUnit'''("player")
  +
GameTooltip:Show()
  +
Shows the GameTooltip with information about the player.

Revision as of 10:08, 29 October 2008

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.