I've looked over the Remembering User Choices section on the Ren'py website and I didn't find as to whether or not you could do this, but I'm trying to set up and option that would allow to do this
"I'll do this" if G_points > K_points ( But I also want it to be so that --- ) "I'll do this" if G_points = K_points
I'm taking a wild guess but would it instead be
"I'll do this" elif G_points > or = K_points
Am I close or completley wrong? Thanks for the help ahead of time.
If menu statement question (Solved)
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.
- wakagana
- Veteran
- Posts: 374
- Joined: Mon May 14, 2012 1:27 am
- Projects: Flash Q
- Organization: Team Bread
- Contact:
If menu statement question (Solved)
Last edited by wakagana on Thu Jul 05, 2012 1:31 pm, edited 1 time in total.
Re: If menu statement question
The greater than or equal sign in python is >= so you'd say
"I'll do this" if G_points >= K_points:
You could also say
"I'll do this" if G_points > K_points or G_points == K_points:
if you wanted, but why make it longer when you don't have to?
"I'll do this" if G_points >= K_points:
You could also say
"I'll do this" if G_points > K_points or G_points == K_points:
if you wanted, but why make it longer when you don't have to?
- wakagana
- Veteran
- Posts: 374
- Joined: Mon May 14, 2012 1:27 am
- Projects: Flash Q
- Organization: Team Bread
- Contact:
Re: If menu statement question
Thank you. For what ever reason I figured >= was not valid for an option. >.> -headdesk-
Who is online
Users browsing this forum: Bing [Bot]