View Single Post
06-22-10, 01:59 PM   #218
zynix
A Cliff Giant
AddOn Author - Click to view addons
Join Date: May 2008
Posts: 70
[quote=Dokee;193197]Well.. thats some of the problem, I have no idea what code(s) to use. But I could give you the stripe code for LitePanels if that helps? So basically I just have two of these on each side of all unit frames, and want them hidden when the frames are not shown. (Target, Pet, Target of Target and possibly Party)

Allright, this should fix it:
Code:
	{	name = "LeftPlayerTop", 
		parent = "Stuf.Units.Player", 
		anchor_to = "TOP",
		width = 75, 
		height = 2,
		strata = "LOW",
		bg_color = "0 1 1", 
		bg_alpha = 0, 
		gradient = "H", 
		gradient_color = "0 1 1", 
		gradient_alpha = 1,
	},
	{	name = "LeftPlayerBottom", 
		parent = "Stuf.Units.Player", 
		anchor_to = "BOTTOM",
		width = 75, 
		height = 2,
		strata = "LOW",
		bg_color = "0 1 1", 
		bg_alpha = 0, 
		gradient = "H", 
		gradient_color = "0 1 1", 
		gradient_alpha = 1,
	},
just add a different name for each panel, and change the parent to the frame you want to attach it to, IE:
Stuf.Units.Target for the target
Stuf.Units.Targettarget for ToT
Stuf.Units.Pet for pet
Stuf.Units.Party1 for first party member
Stuf.Units.Party2 for second, and so on.


Remember, always start with a capital letter, in Stuf parents
  Reply With Quote