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.
Ok so I have an image map which is a bulletin board with flyers on it that you can click on. I want it be so when you click on one, you get a menu item which asks if you want to confirm. However i keep getting errors with the if statements. Does thsi work or no
elif result == "student":
show melonsurprised with vpunch:
xpos 150 ypos 50
hide melonnya
m "Huh student council for serious! Fer serious? Who the heck would want to do that??!"
menu:
"Yes":
jump Student_Club
"No wait ":
jump Bulletin_Board
elif result == "cook":
show melontalking with dissolve:
xpos 150 ypos 50
m "Yah! You picked my club! Awesome are you sure?"
menu:
"Yes":
jump Cooking_Club
"No wait ":
jump Bulletin_Board
Thanks for the quick response. Yeah I do have an if statement at the beginning...sorry that was the ending. So what is the difference between 'if' and 'elif' ??