WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   GameToolTip addline on CovenantSanctumFrame CurrencyGroup (https://www.wowinterface.com/forums/showthread.php?t=58559)

Smallinger 01-22-21 12:05 PM

GameToolTip addline on CovenantSanctumFrame CurrencyGroup
 
Hello, i try like day's to add a line on the CovenantSanctumFrame if the mousecursor over the anima currency.

but with a easy Solution like this dosen't work.

Lua Code:
  1. GameTooltip:HookScript("OnShow", function(self)
  2.     if _G["GameTooltipTextLeft" .. 1]:GetText() == "Reservoir Anima" then
  3.         GameTooltip:AddLine("TestLine");
  4.     end
  5. end)

I think the Covenant sanctum frame messes the tooltip up, anybody a idea to get the ToolTip edited ?.


All times are GMT -6. The time now is 09:32 AM.

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