|
technomage Beginner
Joined: 18 Jul 2002 Posts: 13
|
Posted: Tue Mar 11, 2003 9:03 pm
little gauge help |
I have folloing class everything work except the first one, the life gauge, it dosent show color like the other 2 gauages
#CLASS {general}
#VAR maxhp {53425}
#VAR maxmana {52602}
#VAR mana {45673}
#VAR maxmove {50600}
#VAR move {50600}
#VAR toexp {87590}
#VAR chp {53425}
#TRIGGER {~<(%d)/(%d)hp (%d)/(%d)ma (%d)/(%d)mv~> N/A~|n/a~|(%d)} {#VAR maxhp %1;#VAR chp %2;#VAR maxmana %3;#VAR mana %4;#VAR maxmove %5;#VAR move %6;#VAR toexp %7} "" {prompt}
#BUTTON 1 {@maxhp/@chp} {} {} {} {@chp} {} {} {Size} {150} {25} {} {} {} {32} {} {Gauge||12|@hpmax|@hpmax/2|7} {} "" {Explore|Inset} {} {}
#BUTTON 2 {@maxmana/@mana} {} {} {} {@mana} {} {} {Size} {150} {25} {} {} {} {32784} {} {Gauge||14|@maxmana|@maxmana/2|7} {} "" {Explore|Inset} {} {}
#BUTTON 3 {@maxmove/@move} {c ref} {} {} {@move} {} {} {Size} {150} {25} {} {} {} {96} {} {Gauge||8|@maxmove|@maxmove/10|7} {} "" {Explore|Inset} {} {}
#CLASS 0 |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Tue Mar 11, 2003 9:45 pm |
Visually they appear to all be of the same format.
If you edit the non working gauge does it look right? Does it contain
@maxhp/@chp or did it turn into numbers like 55555/55555?
What happens if you change @chp manually? Does the gauge change and somehow
@chp isn't being set properly from your prompt or something?
#VAR Chp 20000
#VAR Chp 30000
Ton Diening
Edit: *grin* I stared at it for awhile and missed that typo as well! |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Mar 11, 2003 11:06 pm |
Pick a variable name and stick to it.
#BUTTON 1 {@maxhp/@chp} {} {} {} {@chp} {} {} {Size} {150} {25} {} {} {} {32} {} {Gauge||12|@hpmax|@hpmax/2|7} {} "" {Explore|Inset} {} {}
LightBulb
Advanced Member |
|
|
|
technomage Beginner
Joined: 18 Jul 2002 Posts: 13
|
Posted: Wed Mar 12, 2003 6:00 pm |
stupid me, nothing more to add
|
|
|
|
|
|