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
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Jun 16, 2002 1:32 am   

Multi-colored gauges
 
I wanted to know if it's possible to do multicolored gauges in zMud. For example I have a bag than can hold 500 units max. If I have 20 units A, 50 units of B, 60 units of C I would like them all displayed on the same gauge in a different color. is there anyway to do this programmatically or otherwise?



Asati di tempari!
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sun Jun 16, 2002 1:34 pm   
 
Theoretically, you could do this suing the #GAUGE command. However, there is a bug in 6.16 where this won't work. In later versions, I believe this is fixed.

Basically, it involves examining the current amount of units and then using the #GAUGE command to redefine an existing gauge and override the colors it has.

Kjata
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