[SOLVED]Scripting Choice Errors

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
User avatar
Aeternia
Newbie
Posts: 5
Joined: Sat Mar 08, 2014 9:00 am
Projects: Unreflective Mirror
Organization: Aeternia Circle
Contact:

[SOLVED]Scripting Choice Errors

#1 Post by Aeternia » Sat Mar 08, 2014 9:09 am

Hello I've been stuck on this for two days if anyone can help me it'd be really great.

My coding

Code: Select all

label start:
    
  
    scene Background black
    "Your vision begins to slowly restore."
    "You can't remember where you are."
    "Or why you are here."
    play music "Snowfall.mp3"
    "You feel a sudden chill as you become aware of your surroundings."
    
    scene Background snowfall
    with dissolve
    "You take in the scene and realize you are in a forest"
    U"..."
    "You jump back and realize you are not alone."
    Y"Who's there?"
    Y"Reveal yourself now!"
    U"........."
    show Filia sittingdown
    with dissolve 
    
    U"..."
    "A girl appears sitting in the snow with a sad expression."
    "The cold doesn't seem to bother her in the least."
    "You want to ask her a question."
    menu:
        "Who are you?":
                jump who
                
        "Where am I?":
                jump where

label who
        Y"Who are you?"
        U"....."
        "The girl runs away without saying a word."
        Y"Hey!!"
        
label where
        Y"Where am I?"
        U"....."
        "The girl looks displeased and suddenly runs off."
        
    "Confused you decided to..."
My Error:

Code: Select all

I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/script.rpy", line 50: expected ':' not found.
    label who
             ^

File "game/script.rpy", line 56: expected ':' not found.
    label where
               ^

Ren'Py Version: Ren'Py 6.17.3.327

Please help me! Thank you everyone!
Last edited by Aeternia on Sat Mar 08, 2014 9:25 am, edited 1 time in total.

User avatar
Alex
Lemma-Class Veteran
Posts: 2981
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Scripting Choice Errors

#2 Post by Alex » Sat Mar 08, 2014 9:21 am

Add the colon at the end of these lines, like you did for label start.

Code: Select all

label who:

label where:

User avatar
Aeternia
Newbie
Posts: 5
Joined: Sat Mar 08, 2014 9:00 am
Projects: Unreflective Mirror
Organization: Aeternia Circle
Contact:

Re: Scripting Choice Errors

#3 Post by Aeternia » Sat Mar 08, 2014 9:25 am

Alex wrote:Add the colon at the end of these lines, like you did for label start.

Code: Select all

label who:

label where:
Oh my gosh. TWO DAYS. THANK YOU SO SO SO MUCH! ; 7;

User avatar
rakada
Regular
Posts: 71
Joined: Tue Jan 07, 2014 11:00 pm
Contact:

Re: [SOLVED]Scripting Choice Errors

#4 Post by rakada » Sat Mar 08, 2014 11:43 am

It always that tiny little thing that mucking the whole thing up

Post Reply

Who is online

Users browsing this forum: Google [Bot]