Thinjon100 Apprentice
Joined: 12 Jul 2004 Posts: 190 Location: Canada
|
Posted: Fri Jun 15, 2007 6:22 pm
Getting Gauge values to update |
OK, now this issue may already be obsolete in v1.33, but I'm using 1.26, so figure I'd post.
I have a few gauges for things like hitpoints & mana, etc... the variables they're linked to, however, aren't static values... for instance, for hitpoints, it works like this:
Hitpoints Value: @StatsGet(hit)
Hitpoints Max: @StatsGet(hitmax)
Hitpoints Low: @StatsGet(hitmax)/20
@StatsGet (In a separate 'Stats' Package) : @Stats.%1
@Stats (In 'Stats' Package) : DB variable, containing all my stat information for my char... level, hit, hitmax, etc etc...
Whenever one of several triggered events on the mud occurs, I use "StatSet hit <amount>" to change the database value.
Now I've done several echo tests and I know for certain that the 'hit' value in the @Stats database variable IS updating, and I know that @StatsGet(hit) is returning the proper value, however the gauge is not updating... it still shows the initial values from when I created it. Is there a way to make the gauge explicitly grab the values again, or is this a bug wherein it should be updating, but due to the depth of my variables it's not?
Also, if it's of any consequence, I'm using @StatsGet() in the button's caption and it, too, is not updating. |
|