|
Ghola Beginner
Joined: 07 Jan 2001 Posts: 18 Location: United Kingdom
|
Posted: Mon Feb 11, 2002 10:18 am
Removing a single state from multistate button |
Just a quickie, I have a multistate button with ten states. I want to remove the second state. Tried help and common sense, no luck.
Thanks in advance,
Ghola |
|
|
|
iljhar GURU
Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Mon Feb 11, 2002 8:46 pm |
Multi-states are a beta thing, please post in the Beta Forum about this. I'd answer this right now, but I don't have zMUD in front of me, heh.
Iljhar |
|
|
|
Arcane_of_Discworld Wanderer
Joined: 29 Jan 2002 Posts: 99 Location: UK
|
Posted: Mon Feb 11, 2002 9:10 pm |
Multi-states are in 6.16 .. notte a beta thing at all as far as I know!
|
|
|
|
iljhar GURU
Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Mon Feb 11, 2002 9:18 pm |
Hmm...from the version history page, it looks like multi-states were added in 6.20, a beta version. In 6.14-6.16, there's nothing mentioning multi-states, am I just not reading it right? Heh, I have a bad habit of not seeing what I don't want to see. ;)
Iljhar |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Mon Feb 11, 2002 11:26 pm |
Heh, sorry iljhar, this is one of those cases. Ghola is talking about multistate buttons, not trigger states.
As for deleting one of the states I can think of two ways (one with 6.19 and below, one with 6.20 and above):
version <= 6.19
Export the button to a text file or look at the Class Script (if the button is inside a class), to get the #BUTTON command with its specific arguments used to create that button. Delete the button, delete the needed state from the #BUTTON command, and recreate the buttons using the resulting #BUTTON command.
version >= 6.20
Go into the states tab, right click on the needed state, select Delete Row.
As you can see, the second solution is much simpler and easier, but it requires the new beta versions.
Kjata |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Tue Feb 12, 2002 1:07 am |
quote:
Hmm...from the version history page, it looks like multi-states were added in 6.20, a beta version. In 6.14-6.16, there's nothing mentioning multi-states, am I just not reading it right? Heh, I have a bad habit of not seeing what I don't want to see. ;)
Iljhar
As per buttons, you seem to have misread the vnotes. Buttons got the States page, since they already had multi-state capability (Push|Toggle|Multi-state|Menu|Gauge). Triggers got the entire multi-state package all at one time and have yet to see action in a public version.
li'l shmoe of Dragon's Gate MUD |
|
|
|
iljhar GURU
Joined: 10 Oct 2000 Posts: 1116 Location: USA
|
Posted: Tue Feb 12, 2002 2:07 am |
Aaargh! Boy, it's times like this when I should've just stayed away from the forums for the day ;)
Thanks for setting me straight everyone! :)
Iljhar |
|
|
|
Ghola Beginner
Joined: 07 Jan 2001 Posts: 18 Location: United Kingdom
|
Posted: Tue Feb 12, 2002 9:53 am |
heh. sorry for all the confusion and thanks for the replies.
|
|
|
|
|
|