Thread: Distance meter
View Single Post
  #6  
Unread 09-17-2014, 12:00 PM
twistedkilla twistedkilla is offline
A Young Mystail Rat
 
Join Date: Sep 2014
Server: Unkown
Posts: 4
Default

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 &gt; 0)&#xD;&#xA;Parent.DistBar.Color=COND ? #00ff00 : Parent.DistBar.Color
			COND=(Left &gt; 10)&#xD;&#xA;Parent.DistBar.Color=COND ? #39c700 : Parent.DistBar.Color
			COND=(Left &gt; 20)&#xD;&#xA;Parent.DistBar.Color=COND ? #728e00 : Parent.DistBar.Color
			COND=(Left &gt; 30)&#xD;&#xA;Parent.DistBar.Color=COND ? #ab5500 : Parent.DistBar.Color
			COND=(Left &gt; 40)&#xD;&#xA;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

Reply With Quote