|
zema Wanderer
Joined: 22 Jun 2005 Posts: 79
|
Posted: Fri Sep 11, 2009 1:40 am
gauges |
I would like to make a hp bar i know you can set the variables max hp / min hp. But if i also remember correctly you have to make it read off of your mud prompt
which is what i am not completely sure how to do..this is what my mud prompt looks like. If someone could give me an example it would be greatly appreciated.
I do want to make other gauges, but i figured if i could get help with one i can do the others myself.
HP: 104/104 SP: 8/90 |
|
_________________ There are 3 things i hate kids, animals, and women with attitudes.. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Sep 11, 2009 3:16 am |
I believe in Preferences there's a mention of what your Prompt is and what variables you want to pull out of it. That will take care of the variables, but if you want to do a trigger use something like this:
#trigger {^HP: &%dcurrenthp/&%dmaxhp SP: &%dcurrentsp/&maxsp} {}
From there, create a button of type gauge. It's better to do this from the Settings Editor window. This button will now have a GAUGE tab in the Editor window. On this tab should be a place to enter the minimum value, the maximum value, and the current value. The minimum you'll probably want to set to 0. The maximum value can be set to @maxhp, and the current value (in the Value field) would be @currenthp. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|