![](templates/Classic/images/spacer.gif) |
Loftaris Adept
Joined: 24 Aug 2004 Posts: 277
|
Posted: Tue Dec 27, 2011 2:16 pm
I'm not quite sure how to do this |
What I am trying to do, is create a button, or a gauge or something along those lines.
I want it to simply change color depending on 1 variable, and show me a # of another variable.
I've got a gauge currently showing me the # just fine, but I don't know how to get it to change color.. I've fiddled with the values, but it doesn't seem to work.
I want the whole button to change between green and red, the variable will either be 1(green) or 0(red) (or whatever numbers work really, it's not important, just simple.
Any ideas/suggestions how I might go about doing this?
Please and Thank you.
CMud Pro 3.34
Win7 64 |
|
|
![](templates/Classic/images/spacer.gif) |
Fizgar Magician
Joined: 07 Feb 2002 Posts: 333 Location: Central Virginia
|
Posted: Tue Dec 27, 2011 2:52 pm |
If you open the package editor and click on the gauge you have created already you will see a few tabs across the bottom of the screen. Click on the one that says Gauge. Set the gauge color to green and the low warning color and Gauge background color to red. In the value field put the name of the variable that will either be 1 or 0, don't forget to include the @ symbol. Enter 1 in the Max and Low fields.
|
|
_________________ Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34 |
|
|
![](templates/Classic/images/spacer.gif) |
Loftaris Adept
Joined: 24 Aug 2004 Posts: 277
|
Posted: Tue Dec 27, 2011 3:02 pm |
Hey, that's awesome, worked like a charm.
Thanks |
|
|
![](templates/Classic/images/spacer.gif) |
|
|