Indentation Mismatch with Menu/Jump

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
leifleif
Newbie
Posts: 2
Joined: Thu Jul 20, 2017 11:10 pm
Contact:

Indentation Mismatch with Menu/Jump

#1 Post by leifleif »

i'm completely new to ren'py so forgive me if this is a stupid question lol

i started a story and when i went to play through it, i got this error: line 54: indentation mismatch
i've checked my script over a couple of times, and i can't seem to find what's causing the problem. everything seems to be indented correctly, and i'm using spaces and not tab, so what gives?

i've copy/pasted my script (excluding dialog so it's not super long) line 54 is where it says "jump brother" for the first time :) if someone could help me out, that'd be great!

thanks! :D

Code: Select all

menu:

    "answer 1":
        jump never

    "answer 2":
        jump yes

label never:

        m "dialog"
    
        "dialog" 
    
        s "dialog"
    
        "dialog"
    
        m "more dialog"
        
        "dialog"

    jump brother
    
label yes:

        m "some toasty dialog"
    
        s "dialog"
    
        "dialog"

    jump brother

label brother:

        m "dialog"
    
        s "dialog"

User avatar
vollschauer
Veteran
Posts: 231
Joined: Sun Oct 11, 2015 9:38 am
Github: vollschauer
Contact:

Re: Indentation Mismatch with Menu/Jump

#2 Post by vollschauer »

remove 4 whitespace in your say lines ...so they match with the jump

leifleif
Newbie
Posts: 2
Joined: Thu Jul 20, 2017 11:10 pm
Contact:

Re: Indentation Mismatch with Menu/Jump

#3 Post by leifleif »

vollschauer wrote:remove 4 whitespace in your say lines ...so they match with the jump
i did that and it worked! thank you so much! :D

Post Reply

Who is online

Users browsing this forum: mirceea