Yay! I have gotten the power bar to work!
I have yet to get the health bar to work. Here is the current code snippet:
Code:
<Page DynamicData="/GameData.Self.Health" DynamicDataFilter="0001" Location="5,5" Name="HealthBar" PackSize="absolute,fixed" ScrollExtent="200,30" Size="200,30" Visible="true">
<Image AbsorbsInput="false" Name="Bkg" ScrollExtent="50,30" Size="50,30" SourceRect="317,275,366,296" SourceResource="/images/window_elements_hr.dds" />
<Image AbsorbsInput="false" Location="50,0" Name="ProgressBkg" PackSize="absolute,fixed" ScrollExtent="150,30" Size="150,30" SourceRect="395,276,487,300" SourceResource="/images/window_elements_hr.dds" />
<Progressbar AbsorbsInput="false" Color="#8A2BE2" DynamicDataFilter="FBFF" BackgroundColor="#000000" DynamicData="/GameData.Self.Health" Location="54,3" Name="Bar" PackSize="absolute,fixed" Progress="0.500" ScrollExtent="141,24" Size="141,24" Style="progressBar" />
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="54,2" Name="Frame" PackSize="absolute,fixed" ScrollExtent="141,26" Size="141,26" />
<Text DynamicData="/GameData.Self.Health" Name="Percent" DynamicDataFilter="0001" OnTextChanged="
ProgColor=#FF0000
GreenColor=#00FF00
OrangeColor=#D2691E
isGreater=Parent.Bar.Progress > 0.52
ProgColor=isGreater ? OrangeColor : ProgColor
isGreater=Parent.Bar.Progress > 0.55
ProgColor=isGreater ? GreenColor : ProgColor
isGreater=Parent.Bar.Progress > 0.85
ProgColor=isGreater ? OrangeColor : ProgColor
Parent.Bar.Color=ProgColor
Parent.Parent.Health.Color=ProgColor" />
</Page>
Where would I change the name of the progress bar?