hmm... Ran out of space in the topic to type my question.
Basically I want to offer choices in a menu that do not appear unless certain requirements are met.
for example: It would never occur to you to ask your date to the ice park unless someone had already told you she loves skating, thus if someone mentions she likes skating, the ice park appears as a choice on the menu when you take her out.
I'd love to stick some of the menu choices in 'if' statements, but I havn't figured out how to pull that off as part of the same menu.
thank you.
I would like to offer choices in a menu that do not appear u
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.
-
- Miko-Class Veteran
- Posts: 636
- Joined: Thu May 14, 2009 8:15 pm
- Projects: Castle of Arhannia
- Contact:
Re: I would like to offer choices in a menu that do not appear u
according the wiki page, you put a if condition after the string showing the choice like so:
Code: Select all
menu:
"Where should I ask her to go with me?"
"movies":
jump go_to_movies
"restaurant':
jump go_to_restaurant
"skate park" if told_about_skating:
jump go_skating
"my bedroom" if total_pervert:
jump get_slapped
Re: I would like to offer choices in a menu that do not appear u
That you very much.
I apologize for not being able to find it on my own. I really did look around.
With this I think I have all the tools I need to get started.
Again, thank you.
I apologize for not being able to find it on my own. I really did look around.
With this I think I have all the tools I need to get started.
Again, thank you.