|
bossmant Beginner
Joined: 29 Mar 2004 Posts: 11
|
Posted: 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. |
|
|
|
bossmant Beginner
Joined: 29 Mar 2004 Posts: 11
|
Posted: 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.
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: 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. |
|
|
|
bossmant Beginner
Joined: 29 Mar 2004 Posts: 11
|
Posted: Mon Mar 29, 2004 8:13 pm |
Thanks I feel like such a newbie [V]
|
|
|
|
|
|