Conditional Animation in UI

Possum

Lifetimer
Joined
Jun 24, 2007
Messages
25
Reaction score
0
Points
0
I've got the EQType 9999 thing (with the Tooltip) working:

HTML:
<Label item ="CMPW_LOS">
   <ScreenID>LineOfSight</ScreenID>
   <EQType>9999</EQType>
   <TooltipReference>${If[${Target.LineOfSight},*, ]}</TooltipReference>
   <Font>0</Font>
   <RelativePosition>true</RelativePosition>
		<Location>
			<X>2</X>
			<Y>32</Y>
		</Location>
		<Size>
			<CX>4</CX>
			<CY>8</CY>
		</Size>
   <Text></Text>
	<TextColor>
			<R>255</R>
			<G>255</G>
			<B>255</B>
	</TextColor>
   <NoWrap>true</NoWrap>
   <AlignCenter>true</AlignCenter>
   <AlignRight>false</AlignRight>
</Label>

What I would *REALLY* like to do is use an icon (already selected one - and have working as a static icon) instead of the "*" as in the code snippet above.

I tried creating a button, as PW_ParcelsIcon (in the playerWindow), but I can't figure out how to make it conditional. The tooltip seems to get ignored.

I cannot seem to find any examples on any MQ2 sites.

Anybody know how to do it? IF it can be done?