Originally Posted by phrequency
I have a quick question:
I'm using oUF_coree and I wanted to know how to change the location of the names of my pet and my targettarget frames- any help would be appreciated.
This is my first time working with LUA and I managed to position the frames how I wanted them, but I dont see the tag for pet or targettarget name in the code.
Code:
if(unit ~= "player") then
self.Info = SetFontString(self.Health, fontn, 14, "THINOUTLINE")
self.Info:SetPoint("LEFT", self.Health, 1, -23)
if(unit == "targettarget" or unit == "pet") then
self.Info:SetPoint("RIGHT", self.Health.Text2
This currently sets a relative position for the pet and targettarget names, I think, but I want to make the position absolute and be able to change it around an anchor.
|
I'm not sure I fully understand your problem, but this
Code:
self.Info:SetPoint("LEFT", self.Health)
anchors self.Info to self.Health. Change it to whatever you want to stick it to.