I need so help with Chocies


#1

Can So

meone Fix this for me please


#2

@carissaboo1212,

What is the actual error code?


#3

@carissaboo1212 What is the error?


#4

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.


#5

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.


#6

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


#7

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


#8

Lol, you guys are smart! :joy:


#9

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
}


#10

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


#11

How do I make my choices appear like this?

Choice 1
Choice 2
Choice 3


#12

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


#13
    NARRATOR
Dialogue.

choice
“Choice 1”{

}“Choice 2”{

}“Choice 3”{

}


#14

Sometimes errors are appearing not where the actual errors is.


#15

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?


#16

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

FOR INK


FOR LIMELIGHT


PLEASE Help I don't know what to do
#17

Closing due to one month of inactivity :slight_smile:


#18