Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Snoop Bob
Beginner


Joined: 05 Sep 2003
Posts: 23

PostPosted: Fri Apr 16, 2004 1:07 pm   

Guage coloring...
 
Ok, I was just woundering if I can have more then the two colors in my guage... right now I can have the color and the "low color"

What I was hoping to do was have a color for when the guage is full, nearly empty, low and fairly high...

ie:

Full: green
High: blue
Low: orange
Near Empty: red



Is this possible? If so how so?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Apr 16, 2004 6:28 pm   
 
It's possible of course. You'll probably have to remake the button, using the #BUTTON (or #GAUGE) command, every time you want to change its colors. The script to do so would need to be in your trigger, not in the button's script.

You might be able to just use the %btncol() function, which would be simpler, but I'm not sure if that works with Gauge-type buttons or which color it affects if it does. You should be able to find out for yourself with some simple experimentation.

This is probably unnecessary. I've used two-color gauges for years and never had any difficulty telling the difference.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net