From group of buttons, allow just one selection

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Lezalith
Regular
Posts: 82
Joined: Mon Dec 21, 2015 6:45 pm
Contact:

From group of buttons, allow just one selection

#1 Post by Lezalith » Thu Aug 11, 2016 11:44 am

Hiya people.

Is it possible (it probably is, better question is How) to define a group of buttons, so that only one of them can be marked as 'selected' for the purposes of imagemap selected and selected_hover images?

User avatar
Alex
Lemma-Class Veteran
Posts: 2981
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: From group of buttons, allow just one selection

#2 Post by Alex » Thu Aug 11, 2016 12:14 pm

Here's some useful info - viewtopic.php?p=322596#p322596

User avatar
Lezalith
Regular
Posts: 82
Joined: Mon Dec 21, 2015 6:45 pm
Contact:

Re: From group of buttons, allow just one selection

#3 Post by Lezalith » Thu Aug 11, 2016 12:46 pm

Took me a while to soak that in, but it helped. Thank you!

Post Reply

Who is online

Users browsing this forum: Google [Bot], _ticlock_