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
Latent
Apprentice


Joined: 19 Aug 2002
Posts: 120
Location: USA

PostPosted: Wed Jan 07, 2004 1:47 am   

Multi-state buttons
 
Could someone run me through making a simple multi-state button with two states, and then maybe explain how to add in more states? I read the help file for it, but I think it confused me more than it helped me
Reply with quote
Glinka
Wanderer


Joined: 20 Dec 2000
Posts: 53
Location: USA

PostPosted: Wed Jan 07, 2004 2:12 am   
 
Click actions at the top of ZMud
click make button
click kind...multi-state
click states (how many you want)
click far far right down arrow on Captions box
..this will show how many states you chose,
click main and type in the words for the button in the Caption box
click state1 and type in the caption for this state
then tab down to the Value area and add what you want

example: state1 Caption: greeting
................ Value: say Hello!

You can add more states at any time by just clicking the
States box, and adding more to it!

Hope this helps a lil...
G
Reply with quote
Latent
Apprentice


Joined: 19 Aug 2002
Posts: 120
Location: USA

PostPosted: Wed Jan 07, 2004 3:51 am   
 
Yeah, I meant by using the command line, thanks though...
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: Wed Jan 07, 2004 6:15 am   
 
This is the syntax of #button command, for multistate buttons:

#BUTTON Button-Number {Name-caption} {} {first state name|second state name|...} {first state commands|second state commands|...} {} {} {} {width} {height} {} {} {} {} {} {} {} {} "classname"
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Jan 07, 2004 11:02 am   
 
The easiest way to get the command right is to make a button in the editor, and then look at its script by exporting the script to text or looking at the Class script. You should then be able to puzzle out for yourself what went where.
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