Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-24-10, 04:01 AM   #1
StarRocks
A Kobold Labourer
Join Date: Oct 2010
Posts: 1
Question Need Help Creating ToolTips

I have tried following a guide on wowwiki to create a tool tip and I have come up with this
Code:
		<Scripts>
		<GameTooltip name="ToolTip" inherits="GameTooltipTemplate">
		<OnEnter>
       			self:SetOwner(Test_Button, "TOPRIGHT");
			self:SetText("I am a tool tip");
			GameTooltip:Show()
		</OnEnter>
		<OnLeave>
		GameTooltip:Hide()
		</Onleave>
   		</Scripts>
 		</GameTooltip>
Its seems to be wrong. So I just need some help to create a tooltip in XML that when I mouse over a button, it creates a tooltip with custom text.

The guide I tried to follow is this http://www.wowwiki.com/UIOBJECT_GameTooltip
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Need Help Creating ToolTips


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off