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.
hey uh
im really bad at starting stuff so ill just jump right into it
i keep getting the expected menuitem error. this is literally the first time of me programming so im clueless on how to fix this
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 111: expected menuitem
jump getclosetocat
^
Ren'Py Version: Ren'Py 6.99.14.1.3218
Mon Feb 12 23:34:57 2018
I'm also new and am having a similar issue, I keep getting an "expected menuitem" error on a label and I can't seem to figure out what's wrong with it?
menu identity:
"I'm the new janitor.":
jump option1_selected
"I'm the new human mascot.":
jump option2_selected
label option1_selected:
r "Sweet, can you clean my office for me? Mags keeps bugging me about it."
l "No."
r "What kind of janitor are you then?"
hide roddy smug
show black with dissolve
jump option1_done
label option2_selected:
r "Ooo! Cool! Can you do a funny little dance for me? No matter how much I ask, Swerve always refuses."
l "No."
r "What kind of mascot are you then?"
hide roddy smug
show black with dissolve
jump option2_done
label option1_done:
label option2_done:
# This ends the game.
return
ShogunOfSorrow wrote: ↑Thu Mar 22, 2018 7:08 pm
I'm also new and am having a similar issue, I keep getting an "expected menuitem" error on a label and I can't seem to figure out what's wrong with it?
menu identity:
"I'm the new janitor.":
jump option1_selected
"I'm the new human mascot.":
jump option2_selected
label option1_selected:
r "Sweet, can you clean my office for me? Mags keeps bugging me about it."
l "No."
r "What kind of janitor are you then?"
hide roddy smug
show black with dissolve
jump option1_done
label option2_selected:
r "Ooo! Cool! Can you do a funny little dance for me? No matter how much I ask, Swerve always refuses."
l "No."
r "What kind of mascot are you then?"
hide roddy smug
show black with dissolve
jump option2_done
label option1_done:
label option2_done:
# This ends the game.
return
menu identity:
"I'm the new janitor.":
jump option1_selected
"I'm the new human mascot.":
jump option2_selected
return
label option1_selected:
r "Sweet, can you clean my office for me? Mags keeps bugging me about it."
l "No."
r "What kind of janitor are you then?"
hide roddy smug
show black with dissolve
jump option1_done
label option2_selected:
r "Ooo! Cool! Can you do a funny little dance for me? No matter how much I ask, Swerve always refuses."
l "No."
r "What kind of mascot are you then?"
hide roddy smug
show black with dissolve
jump option2_done
label option1_done:
label option2_done:
# This ends the game.
return