Quote:
|
Originally Posted by Landiin
Hmm in that case, I would add the dynamic data to a slidbar and use the onchange event to update the progressbar, no hover event needed then. That is if the slidebar will take that sort of data.
|
Nope, there's no DynamicData for the Value and FloatValue data that sliders use, and OnChange doesn't trigger when DynamicData updates. Requires player input. :/ Tried that already.
The final thing should look something like...
<Text Name="DefenseMitigationTextObject" DynamicData="/GameData.Stats.Defense_MitigationPercent" ...>
<Progressbar OnHoverIn="Progress=((Parent.DefenseMitigationTextObject.Localtext)/100)" ...>
The "..." parts will need to have location, style info, etc.