Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Martaigne
Wanderer


Joined: 05 Jan 2002
Posts: 88
Location: Atlanta, GA

PostPosted: Fri Jun 04, 2010 8:04 pm   

default caption on multi state buttons
 
In 2.37 the caption of a multistate button automatically returned to the default name/value of the button after making a selection from one of the other states. In 3.16, the caption remains the same as the chosen state. I've pored over the documentation and forums looking for a way to reset the state of the button back to the default after making a selection.

For the record, I tried this command:

#BUTTON btnMaps 0

... which appears as thought it should toggle on the default state of the button but instead executes the last chosen state repeatedly.
_________________
Unwritten Legends
Reply with quote
Rorso
Wizard


Joined: 14 Oct 2000
Posts: 1368

PostPosted: Fri Jun 04, 2010 9:59 pm   
 
Try change the value of the "Expr" field(in the options tab) of the multistate button. If you set it to 0 it will return to the default value after one of the options have been picked.
Reply with quote
Martaigne
Wanderer


Joined: 05 Jan 2002
Posts: 88
Location: Atlanta, GA

PostPosted: Fri Jun 04, 2010 10:54 pm   
 
That worked, thanks!
_________________
Unwritten Legends
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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