|
Evan Newbie
Joined: 18 Jul 2005 Posts: 1
|
Posted: Mon Jul 18, 2005 8:42 pm
Health and Psi Triggers Button |
I haven't really understood it so I'll let you pros help me out with this triggers. I'm trying to have button to show me how much health or psi I have. I will show you example.
You have 1000 of 1000 health points remaining.
Current psi energy: 1000/1000
However those isn't in prompt, I have to type health or psi to even see them. Is there a way to trigger it so I can view health or psi without having to type it? Please respond, thank you all. |
|
|
|
GaidinBDJ Wanderer
Joined: 15 Nov 2002 Posts: 52 Location: Las Vegas, Nevada
|
Posted: Tue Jul 19, 2005 5:14 pm |
Hrm...you could set a timer action, then gag the prompts. Just beware of your MUD's robot policy.
Then just
#trigger {^You have &%d{curHealth} of &%d{maxHealth} health points remaining.$} {#GAG}
#trigger {^Current psi energy: &%d{curPsi}/&%d{maxPsi}$} {#GAG}
Then just set up a gauge for each value.
#GAUGE health "Health: @curHealth/@maxHealth" @curHealth @maxHealth (@maxHealth/5) "" "blue" "red"
#GAUGE psi "Psi @curPsi/@maxPSI" @curPsi @maxPsi (@maxPsi/5) "" "green" "red"
You can edit the gauges a little better in the Settings Editor, change the colors and such. |
|
_________________ Barry
Gaidin @ 3k.org |
|
|
|
|
|