twistedkilla |
09-17-2014 12:00 PM |
So This Is The Code When I Was Done
Code:
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Color="#FFFFFF" Location="34,0" Name="Bkguui" PackSize="absolute,absolute" ScrollExtent="138,8" Size="1,12" Style="/SpecialElements.GreyscaleVitalBar.data.bkg.style" />
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Color="#FFFFFF" Location="58,0" Name="Bkguui" PackSize="absolute,absolute" ScrollExtent="138,8" Size="1,12" Style="/SpecialElements.GreyscaleVitalBar.data.bkg.style" />
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Color="#FFFFFF" Location="82,0" Name="Bkguui" PackSize="absolute,absolute" ScrollExtent="138,8" Size="1,12" Style="/SpecialElements.GreyscaleVitalBar.data.bkg.style" />
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Color="#FFFFFF" Location="106,0" Name="Bkguui" PackSize="absolute,absolute" ScrollExtent="138,8" Size="1,12" Style="/SpecialElements.GreyscaleVitalBar.data.bkg.style" />
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Color="#000000" Location="33,0" Name="Bkguui" PackSize="absolute,absolute" ScrollExtent="138,8" Size="3,12" Style="/SpecialElements.GreyscaleVitalBar.data.bkg.style" />
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Color="#000000" Location="57,0" Name="Bkguui" PackSize="absolute,absolute" ScrollExtent="138,8" Size="3,12" Style="/SpecialElements.GreyscaleVitalBar.data.bkg.style" />
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Color="#000000" Location="81,0" Name="Bkguui" PackSize="absolute,absolute" ScrollExtent="138,8" Size="3,12" Style="/SpecialElements.GreyscaleVitalBar.data.bkg.style" />
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Color="#000000" Location="105,0" Name="Bkguui" PackSize="absolute,absolute" ScrollExtent="138,8" Size="3,12" Style="/SpecialElements.GreyscaleVitalBar.data.bkg.style" />
<Progressbar Location="10,1" 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 + 1" OnMove="
Parent.DistBar.Progress=(Left / 50)
COND=(Left > 0)
Parent.DistBar.Color=COND ? #00ff00 : Parent.DistBar.Color
COND=(Left > 10)
Parent.DistBar.Color=COND ? #39c700 : Parent.DistBar.Color
COND=(Left > 20)
Parent.DistBar.Color=COND ? #728e00 : Parent.DistBar.Color
COND=(Left > 30)
Parent.DistBar.Color=COND ? #ab5500 : Parent.DistBar.Color
COND=(Left > 40)
Parent.DistBar.Color=COND ? #e41c00 : Parent.DistBar.Color" />
<Image AbsorbsInput="false" BackgroundColor="#FFFFFF" Color="#000000" Location="10,0" Name="Bkguui" PackSize="absolute,absolute" ScrollExtent="138,8" Size="120,12" Style="/SpecialElements.GreyscaleVitalBar.data.bkg.style" />
This Is What Looks Like
|