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
Ghola
Beginner


Joined: 07 Jan 2001
Posts: 18
Location: United Kingdom

PostPosted: 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
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: 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
Reply with quote
Arcane_of_Discworld
Wanderer


Joined: 29 Jan 2002
Posts: 99
Location: UK

PostPosted: Mon Feb 11, 2002 9:10 pm   
 
Multi-states are in 6.16 .. notte a beta thing at all as far as I know!
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: 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
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: 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
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: 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
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: 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
Reply with quote
Ghola
Beginner


Joined: 07 Jan 2001
Posts: 18
Location: United Kingdom

PostPosted: Tue Feb 12, 2002 9:53 am   
 
heh. sorry for all the confusion and thanks for the replies.
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