I need so help with Chocies

Can So

meone Fix this for me please

@carissaboo1212,

What is the actual error code?

@carissaboo1212 What is the error?

You didn’t add an ending bracket from the choice on 1234. Add it after line 1244. I’m also not sure if this will result in an error (it may just not work) but I would move the goto “go_to_right” before the bracket, not after it.

It looks like she wants a choice within the choice, that’s why there is no bracket at that point and the goto is at the end.

Ahh, I see. Thank you. @carissaboo1212 Error please?

Hi.
You want the “no offence” choice within the “she’s alright” choice allternative(?)

Linked choices can seem trickier than they actually are, but if you learn the pattern used for a choice it becomes a lot easier.

  • The code for a choice alternative -after the question and the choice command - is always the same, regardless it it’s the first ot the 20: alternative to choose from. It starts with the title within quotation-marks followed by the opening bracket { and is ended after everything is said and done with the closing bracket }

NARRATOR
Question
choice
"Title"{
Whatever you want to happen
}

  • What you do when having a choice within a choice is to simply move the last closing bracket to after the new choice is finished, with all the second choice alternative having their own closing. Ending up with two closing bracket after the other }} after the second choice is written in.

**NARRATOR
First choice question.
choice
"Alt 1"{
Whatever you want to happen

NARRATOR
The second choice question, depending on the first choice
choice
“2:d choice Alt 1”{
Whatever you want to happen
}
“2:d choice Alt 2”{
Whatever you want to happen
}

}
“Choice 1 Alt 2”{
Whatever you want to happen
}

If you still find it hard to keep track of the brackets, youu can skip nested choices all together and instead using only goto’s and having the second choice under its own label.

NARRATOR
First choice question.
*
choice
"Alt 1"{
Whatever you want to happen

goto Second_choice

}
“Choice 1 Alt 2”{
Whatever you want to happen
}

goto continue_story

label Second_choice

NARRATOR
The second choice question, depending on the first choice
choice
“2:d choice Alt 1”{
Whatever you want to happen
goto continue_story
}
“2:d choice Alt 2”{
Whatever you want to happen
goto continue_story
}

label continue_story

It takes up a bit more coding space but is often a bit easier to organize. Especially if you have many second choices or use if’s and elses.

<3

2 Likes

Lol, you guys are smart! :joy:

1 Like

Could you help me with my code? I keep getting an error that there is a { on line 982 that does not have a matching }

choice “ABORT MISSION” {
@ZERO is deepbreath
@ZERO faces left
@ZERO is faint AND CROW is react_shocked_awe
transition fade in black
} “Play It Cool Like Ice” {
@ZERO is deepbreath
@ZERO walks to far back right
@ZERO is talk_flirt_charming and CROW is talk_flirt_coy
@ZERO is faint AND CROW is react_shocked_awe
transition fade in black
}

choice “ABORT MISSION” {
@ZERO is deepbreath
@ZERO faces left
@ZERO is faint AND CROW is react_shocked_awe
@transition fade in black
} “Play It Cool Like Ice” {
@ZERO is deepbreath
@ZERO walks to back far right
@ZERO is talk_flirt_charming and CROW is talk_flirt_coy
@ZERO is faint AND CROW is react_shocked_awe
@transition fade in black
}

You forgot @ before the transition

How do I make my choices appear like this?

Choice 1
Choice 2
Choice 3

Oh wow thank you! I thought it was a bracket issue which really had me stumped.

    NARRATOR
Dialogue.

choice
“Choice 1”{

}“Choice 2”{

}“Choice 3”{

}

Sometimes errors are appearing not where the actual errors is.

Ok and how do you like… if someone chooses outfit one how do you branch it to show the character changing?
Like what would the lay out be?

Do you want to use gains? If not the simple dressing game is available here:

FOR INK


FOR LIMELIGHT

1 Like

Closing due to one month of inactivity :slight_smile: