View Single Post
  #7  
Unread 06-29-2006, 04:40 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Magus, other events work for objects updated by DynamicData (I know that I'm using at least OnSet, OnUnset on checkboxes). I'm not sure for OnChange, I don't think I ever tried.

Retsek, I think that your target lock would be easier to implement by making a "lock" checkbox that sets or removes the dynamic data field.

I now understand what you want to do with the XP, that's something I had been considering as well to work around the current XP rounding mess, but so far I'm hoping that SOE will fix it.

You are right that you can't apply the DD to a sliderbar, I forgot that it contains the "%". However, I would have thought that applying it to a progress bar you could read the progress value which should be a number only. Unfortunately you say that it doesn't work. Even if it was a number, you couldn't apply it to sliderbars because I think those accept only integer values, whereas progress bars use decimals (you could work around that particular problem with the solution below).

So if you can't do math at all you can still create a pre-populated datasource that contains all possible XP values and what you want to convert them to. Apply the datasource to a dropdown and then compare every item of the dropdown to your value until you find the correct one. Sounds like very ugly code, but all I can think of right now if you have to work with text only...
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote