I has a question! About menues!
Let's say I wanted to make a cursed forest where the wanderers end up in random locations unless they know certain secrets of the forest. Let's say the base choices, while the player is in camp(which is where each new day will begin) are as follows:
-Leave Camp-, -Hunt for Food- and -Rest for the Day-
Then let's say that through an event, the player learns a secret on how to reach one (or more) of these locations within the forest, let's say a lake just as an example. Then I want the players to, once they've learned that secret, be able to pick whatever location they've got the secret for from the base menu, like so:
-Go to Lake-, -Leave Camp-, -Hunt for Food- and -Rest for the Day-
Would this be possible, and if so, how do I program it?
Question about Menues.
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.
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.
- Megaman Z
- Miko-Class Veteran
- Posts: 829
- Joined: Sun Feb 20, 2005 8:45 pm
- Projects: NaNoRenO 2016, Ren'Py tutorial series
- Location: USA
- Contact:
Re: Question about Menues.
use a variable.
you can also do other conditionals, too (I.E. if pcname == "Zeta")
Code: Select all
label before_menu:
menu:
"Choice 1 - no requirement":
# some stuff. show, text, etc.
$ temp1 = True
jump before_menu
"Choice 2 - requires choice 1 to be done" if temp1 == True:
# insert your stuff here~Kitsune Zeta
Who is online
Users browsing this forum: No registered users

