WoWInterface (
-   AddOn Search/Requests (
-   -   Tooltip to put tooltip at mouse coursor and hide during combat? (

Jynks 09-01-18 11:29 PM

Tooltip to put tooltip at mouse coursor and hide during combat?
I'd like to find a mod to put the tooltip at the mouse coursor and then hide it in combat... even better would be the ability to manually set the offset, so it is near the mouse cursor but not covering the thing you are mouse overing.

I found to mods... the 1st one works.. but the 2nd one disnt..

Anchor Tooltip to Mouse

Combat Hide Tooltip

Any ideas?

Thanks again.. and I just want to say wow Interface never stops impressing me. I have been coming here on and off for nearly a decade as I leave and come back to wow, and everyone is always so nice in helping me rebuild my UI.

zork 09-03-18 06:43 AM

Lua Code:
  1. local function SetDefaultAnchor(self, parent)
  2.   local xOffset, yOffset = 0, 0
  3.   if InCombatLockdown() then
  4.     self:SetOwner(parent, "ANCHOR_NONE")
  5.   else
  6.     self:SetOwner(parent, "ANCHOR_CURSOR", xOffset, yOffset)
  7.   end
  8. end
  10. hooksecurefunc("GameTooltip_SetDefaultAnchor", SetDefaultAnchor)

Put the above in here and give your addon a desired name.

Jynks 09-03-18 08:00 PM

thank you.. I'll try this.

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

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI