Line is indented, but the preceding jump statement statement does not expect a block.

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.
Post Reply
Message
Author
Guestify
Newbie
Posts: 3
Joined: Wed Jan 17, 2018 4:11 pm
Github: Guestify
Contact:

Line is indented, but the preceding jump statement statement does not expect a block.

#1 Post by Guestify » Wed Jan 17, 2018 5:38 pm

File "game/script.rpy", line 142: Line is indented, but the preceding jump statement statement does not expect a block. Please check this line's indentation.
"No making a club is a pain in the ass!"
^

menu:
"Okay we will make a club.":
jump choice1_yes



"No making a club is a pain in the ass!"
jump choice1_no

User avatar
erickcire95
Regular
Posts: 33
Joined: Tue Dec 26, 2017 7:38 pm
Contact:

Re: Line is indented, but the preceding jump statement statement does not expect a block.

#2 Post by erickcire95 » Wed Jan 17, 2018 9:56 pm

Seems like you are missing a ':' at the second choice

Code: Select all

menu:
    "Okay we will make a club.":
        jump choice1_yes
    "No making a club is a pain in the ass!":
        jump choice1_no
Tip, use the code tags when pasting your code here so we can better read and try it.

Post Reply

Who is online

Users browsing this forum: Sunlit-Dreamer