PDA

View Full Version : Is there any way to show pet's target on pet frame?



Noris
12-21-2006, 09:49 PM
Hello guys.

I post same one on general forum, but got no response there for a long time... Then I realized there is forum for unitframes. So I'm posting same one here. I hope I can get this worked...

There is no target and target's target on pet frames now. I thought there were before. Is there any way to add that for latest version?

Stickx
12-22-2006, 09:45 PM
Find:

pet = {
type = "Button",
uitemp = "SecureUnitButtonTemplate",
size = { 160, 41 },
FrameStrata = "LOW",
ClampedToScreen = true,
Backdrop = "Nurfed_Unit_backdrop",
BackdropColor = { 0, 0, 0, 0.75 },
Movable = true,
Mouse = true,
children = {

Then put:


target = { template = "Nurfed_Unit_mini", Anchor = { "LEFT", "$parent", "RIGHT", 0, -10 } },

Above:

buff1 = { type = "Button", uitemp = "TargetDebuffButtonTemplate", Anchor = { "TOPLEFT", "$parent", "BOTTOMLEFT", 0, -1 } },

Noris
12-24-2006, 09:20 PM
Thanx, but that didn't work for me. :(

Wind82
12-25-2006, 06:08 PM
Take a look at this threads layout.

Should show pretty much what the previous post was about.

Your problem could be that you dont have a template called Nurfed_Unit_Mini or it could be so much more :D

Also the posted code above anchors the Pets TOT frame at the side and you might want it at the bottom.

There is a tons of options so play around with it.

a67rhf7823jn8747==