WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Tooltip function for "mouseover" events [herbs, etc] (https://www.wowinterface.com/forums/showthread.php?t=2364)

Hwap 11-09-05 03:22 PM

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.

Aquendyn 11-30-05 11:43 PM

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 ); 



All times are GMT -6. The time now is 10:10 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI