View Single Post
06-26-19, 12:59 AM   #20
Zam89
A Deviate Faerie Dragon
Join Date: Mar 2019
Posts: 18
Hi,

I have the same Issue with this code:

Code:
local function movePlacement(self)
	self:ClearAllPoints()
	self:SetPoint("BOTTOMRIGHT", WorldFrame, "BOTTOMRIGHT", 0, 300)
end
This is where the function will be set to the Tooltip:

Code:
GameTooltip:HookScript("OnTooltipSetUnit", movePlacement)
GameTooltip:HookScript("OnTooltipSetQuest", movePlacement)
GameTooltip:HookScript("OnTooltipSetSpell", movePlacement)
GameTooltip:HookScript("OnTooltipSetDefaultAnchor", movePlacement)
It sets the GameTooltip to the Bottom right, but it seams that we can not anchor it to the WorldFrame.

Any idea how to fix this?

Thanks.
  Reply With Quote