Page 1 of 1

quick buff window question...

Posted: Mon May 03, 2004 10:30 pm
by ucfusion
I currently using delta UI and have it adapted for the old parm version of buff window... heres the code i have so far that i found on the boards...

Code: Select all

<Label item="BW_Buff0_Label">
		<ScreenID>BW_Buff0_Label</ScreenID>
		<Font>1</Font>
		<EQType>9999</EQType> 
 <TooltipReference>${If[${Bool[${Me.Buff[1]}]},${Me.Buff[1].Duration.Time},]}</TooltipReference> 
		<Location>
			<X>1</X>
			<Y>7</Y>
		</Location>
		<Size>
			<CX>135</CX>
			<CY>22</CY>
		</Size>
		<TextColor>
			<R>220</R>
			<G>220</G>
			<B>220</B>
		</TextColor>
		<AlignRight>true</AlignRight>
	</Label>
what would i have to do to this code to make it so that it shows the label too... my noobish self copied from the guys post that just wanted the time not the labels...

thanks.

Posted: Mon May 03, 2004 11:42 pm
by Goofmester1
Well the best way is to leave the normal EQ type for buff name. Then add a new label for the duration of each buff. That way you can cut the code you have in half and it never bothers the label of the Buff. However, if you choice not to do that then I think this is how you would get the label and duration to show.

Code: Select all

<TooltipReference>${If[${Bool[${Me.Buff[1]}]}, ${Me.Buff[1].Name}, "" ,${Me.Buff[1].Duration.Time},]}</TooltipReference> 

Posted: Tue May 04, 2004 12:42 am
by SlowAndStupid
I had been previously using

Code: Select all

<TooltipReference>${If[${Bool[${Me.Buff[7]}]},${Me.Buff[7]} ${Me.Buff[7].Duration.Time},]}</TooltipReference>