|
Latent Apprentice
Joined: 19 Aug 2002 Posts: 120 Location: USA
|
Posted: 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
|
|
|
|
Glinka Wanderer
Joined: 20 Dec 2000 Posts: 53 Location: USA
|
Posted: 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 |
|
|
|
Latent Apprentice
Joined: 19 Aug 2002 Posts: 120 Location: USA
|
Posted: Wed Jan 07, 2004 3:51 am |
Yeah, I meant by using the command line, thanks though...
|
|
|
|
Danlo Magician
Joined: 28 Nov 2003 Posts: 313 Location: Australia
|
Posted: 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" |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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.
|
|
|
|
|
|