View Single Post
10-08-22, 12:04 PM   #3
hasnogaems
A Flamescale Wyrmkin
 
hasnogaems's Avatar
Join Date: Apr 2016
Posts: 109
Originally Posted by LudiusMaximus View Post
If you know the name of your frame (e.g. YourFrame), try this:

Lua Code:
  1. YourFrame:HookScript("OnShow",
  2.   function(self)
  3.     if not self:IsProtected() or not InCombatLockdown() then
  4.       self:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOMRIGHT", -500, 500)
  5.     end
  6.   end)
I tried it to replace my GameTooltip frame. The one that appears when mouseover npc. And sometimes it replaced but sometimes it in default position.
Wotlk classic.
It is only replaced on 1st show. If I mouseover to next npc it will be in default coordinates. Seems like OnShow not triggered again until I wait for tooltip to fade away fully and mouseover npc again.

Last edited by hasnogaems : 10-08-22 at 12:07 PM.
  Reply With Quote