View Single Post
  #8  
Unread 09-01-2005, 04:23 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

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.
__________________
If it ain't broke, it needs more features!

Last edited by Deathbane27 : 09-01-2005 at 04:26 PM.
Reply With Quote