 |
Morten Apprentice
Joined: 17 Feb 2001 Posts: 119 Location: Denmark
|
Posted: Fri Dec 28, 2001 11:36 pm
buttons/gauge |
how do one make a gauge from command linie
lets say i wish to have a hp gauge and
i got a max hp at 500
Yugo Sangori |
|
|
 |
Troubadour GURU
Joined: 14 Oct 2000 Posts: 556 Location: USA
|
Posted: Sat Dec 29, 2001 3:34 pm |
Assuming your prompt looks like this:
<485hp 543ma 230mv>
Your prompt trigger would look like:
#TRIGGER {~<(%d)hp %dma %dmv~>} {#VAR hp %1} "" "prompt"
You manually set your max hp variable: #VAR maxhp 500
Then at the command prompt enter:
#GAUGE hp "hp" @hp @maxhp (@maxhp/10) "" "blue" "red"
This will make the gauge line blue when your hp is between 50 and 500, and red when your hp is less than 50.
Troubadour  |
|
|
 |
Morten Apprentice
Joined: 17 Feb 2001 Posts: 119 Location: Denmark
|
Posted: Sun Dec 30, 2001 9:14 am |
great works like a dream...
now what if i want 2 gauge can this be done from the command line?
Yugo Sangori |
|
|
 |
|
|