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
vileplume
Novice


Joined: 26 Dec 2001
Posts: 43
Location: USA

PostPosted: Sat May 18, 2002 12:37 am   

Status bar - guidance needed
 
Hi Guys!

I'm interested in trying to create a status bar to display variables pertaining to my defenses. I already have triggers to capture the variables in question, but I'm totally stumped on actually using these in the status bar settings dialog box.

Basically, the variables I want to track are either going to be 0 (when the defense is not active) or non-zero (when the defense is present).

examples of my variables:
@deffire
@defcold
@defrefl

I've looked everywhere I can think of looking, but the only examples I see are based on hp and mana, which I am already tracking in a gauge. Really the main problem I'm having is just that I don't get what needs to be entered where in the editor window.

Could someone point me in the right direction here?

Thanks,
vp
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat May 18, 2002 1:02 am   
 
To define the status bar it is best to use the #STATUS command. Example:
#STATUS {Fire Defense:@deffire Cold Defense:@defcold}

Kjata
Reply with quote
vileplume
Novice


Joined: 26 Dec 2001
Posts: 43
Location: USA

PostPosted: Sat May 18, 2002 2:29 am   
 
Ok that was too easy! When all else fails, try the obvious, eh?

All right now here's another one for ya:

Can a trigger match text that's gagged? Now that I have my gauges, I really don't need to be reminded over and over again what my hp and mana is onscreen. But that's the line that I'm getting the variables from to display on the status bar.

Any ideas?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat May 18, 2002 2:46 am   
 
Yep. It sure can.

Kjata
Reply with quote
vileplume
Novice


Joined: 26 Dec 2001
Posts: 43
Location: USA

PostPosted: Sat May 18, 2002 3:09 am   
 
If I asked nicely, would you tell me how I might go about accomplishing this feat of technological magic?

(If I asked really nicely, would you add me to your ICQ list? )
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat May 18, 2002 4:22 am   
 
Nothing special to it, zMUD does it automatically. You can test it for yourself, just create two triggers with a pattern that will fire on the same line and have one of them #GAG the line. You will see that the line won't appear, but the other trigger also fired.

About the ICQ thing, sorry, I don't use it anymore, nor any of those other IM.

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