Remembering School Names


#1

Hi, I’m trying to make a character in my story say the name of the school that the reader chose before the school scene. This is what I have so far, but later in the story, the character is going to say one of the three names that the reader has already chosen.

    YOU (think_rubchin)
(What's the name of my school?)

choice
“Golden Oak High School” {

    YOU (talk_smile_happy_loop)
It's Golden Oak High School, mom.

} “Mountain View High School” {

    YOU (talk_smile_happy_loop)
It's Mountain View High School, mom.

} “Lakewood High School” {

    YOU (talk_smile_happy_loop)
It's Lakewood High School, mom.

}

How do I use the (if/elif/else) code to make this work?


#2

You have to name the choice, then use that name inside brackets when you want them to say the school name

YOU (think_rubchin)
(What’s the name of my school?)

choice (SCHOOL)
“Golden Oak High School” {

Then when you want a character to say that name in dialogue, it looks like this:

CHARACTER
The name of my school is [SCHOOL].


#3

What about the other two, same thing?


#4

I just took a piece of your code just to show you how to name your choice. Whichever choice you chose will show up in the dialogue.


#5

Ok, thx!