Thread Tools Display Modes
11-09-05, 03:22 PM   #1
Hwap
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Jun 2005
Posts: 7
Tooltip function for "mouseover" events [herbs, etc]

I'm t rying to find the tooltip function that gets called when you mouse over an ore deposit (mining), dead best (skinning), or plant (herbalism). I maintain the colorblind mod and this is one of the last remaining items that I can't get the colorblind "helpers" in.
  Reply With Quote
11-30-05, 11:43 PM   #2
Aquendyn
A Deviate Faerie Dragon
Join Date: Sep 2005
Posts: 12
you can try to hook into GameTooltip's OnShow trigger.

Ex.
PHP Code:
local oldGTScript GameTooltip:GetScript("ONSHOW");
GameTooltip:SetScript("ONSHOW", function()
    if (
oldGTScriptthen
        oldGTScript
();
    
end
    CoolTip_OnShow
();
end ); 
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Tooltip function for "mouseover" events [herbs, etc]

Thread Tools
Display Modes

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