Quote:
Originally Posted by Darqwood
Try this:
Code:
<Progressbar Location="10,10" Name="DistBar" ScrollExtent="120,12" Size="120,12" Style="/SpecialElements.GreyscaleVitalBar.data.bar.bar_style" />
<Text DynamicData="/GameData.Target.Distance" Name="Dist_" OnTextChanged="Left=Text" OnMove="
Parent.DistBar.Progress=(Left / 50)
COND=(Left > 0)
Parent.DistBar.Color=COND ? #FF0000 : Parent.DistBar.Color
COND=(Left > 10)
Parent.DistBar.Color=COND ? #FF5500 : Parent.DistBar.Color
COND=(Left > 20)
Parent.DistBar.Color=COND ? #FFAA00 : Parent.DistBar.Color
COND=(Left > 30)
Parent.DistBar.Color=COND ? #FFFF00 : Parent.DistBar.Color
COND=(Left > 40)
Parent.DistBar.Color=COND ? #00FF44 : Parent.DistBar.Color" />
|
DUDE YOUR AWESOME THIS IS WHAT I WAS LOOKING FOR. TY SO MUCH