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
aCiD2
Newbie


Joined: 24 May 2005
Posts: 5

PostPosted: Tue May 24, 2005 7:24 pm   

Zmud bars and status window lag behind...
 
Hi, I am setting up zMud so that I have health bars, and a little status window thing. I have a trigger:

#TRIGGER {(%n)h, (%n)m, (%n)e, (%n)w ([cexkdb@-])} {
#var health %1
#var mana %2
#var endurance %3
#var willpower %4
#case (%pos( e, %5)=0) {#var equilibrium 0} {#var equilibrium 1}
#case (%pos( x, %5)=0) {#var balance 0} {#var balance 1}
resetStatusWindow
}

And here is the resetStatusWindow alias:

#ALIAS resetStatusWindow {
#STAT {Balance}
#case (@balance=1) {#STW %ansi( green, black)Balance} {#STW %ansi( red, black)Balance}
#STAT {Eq}
#case (@equilibrium=1) {#STW %ansi( green, black)Eq} {#STW %ansi( red, black)Eq}
}

However - everything is one step behind. Is there anyway to update the GUI or something?
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Tue May 24, 2005 10:27 pm   
 
MAke sure they are enabled to trigger on prompt
Reply with quote
aCiD2
Newbie


Joined: 24 May 2005
Posts: 5

PostPosted: Wed May 25, 2005 10:38 am   
 
Sorry.. but what does that mean?
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed May 25, 2005 11:55 am   
 
in the trigger editor, while editing the trigger, goto the "options" tab, you'll see an area where you can choose how it is triggered:

Newline
Prompt <--- you want a check in this one
Line Color
Reply with quote
aCiD2
Newbie


Joined: 24 May 2005
Posts: 5

PostPosted: Wed May 25, 2005 1:55 pm   
 
BAM, thanks :)
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