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
bossmant
Beginner


Joined: 29 Mar 2004
Posts: 11

PostPosted: Mon Mar 29, 2004 7:35 pm   

Dynamic Status Bar Changes
 
Ok, this is for you experts :)

With the help of one of ya'll I created a status bar piece that would read the room description.

What I want to do now is have it update the status bar when i add or subtract new flags. IE

Current room flags- SAFE High_regen

I type room edit to get into the room editor

i type room <flagname> and it adds or removes a flag.

I type done and close the editor.

Any Ideas? I know mildly what to do, but an expert opinion would be grand.
Reply with quote
bossmant
Beginner


Joined: 29 Mar 2004
Posts: 11

PostPosted: Mon Mar 29, 2004 7:55 pm   
 
As another tip, I wanted to know if it was possible to activate a set of buttons on the status bar, then deactivate them possibly with a trigger and replace them with a new set of buttons.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Mar 29, 2004 8:10 pm   
 
For first question, it would be better to just do another look once you finish editing the room and let the trigger add the new flag to the status bar. You can do it right at the moment you add the new flag, but this would require creating extra triggers or aliases that would only be useful between the moment you add the flag and the moment you look at the room again.

For the second question, yes it is possible. You jsut need to put one set of buttons in one class folder and the other set of buttons in another. Then, using the #T+ and #T- commands, deactivate one and then activate the other. When buttons are deactivated, they are not displayed. For this reason, the second set of buttons may be in the same position as the first set.
Reply with quote
bossmant
Beginner


Joined: 29 Mar 2004
Posts: 11

PostPosted: Mon Mar 29, 2004 8:13 pm   
 
Thanks Very Happy I feel like such a newbie [V]
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