CODE: Talking to 7 People and Remembering :cake4:

Here’s a code for talking to 7 people and remembering (an example):

label party

INT. CASTLE BALLROOM - DAY

&zoom reset

&speechbubble reset

NARR
Who’d you like to talk to, Jem?

choice
“Talk to Amber”{

if (AMBER){

NARR
You already talked to Amber.

goto party

}else{

NARR
Scene here for talking to Amber.

gain AMBER

goto party

}}“Talk to Annie”{

if (ANNIE){

NARR
You already talked to Annie.

goto party

}else{

NARR
Scene here for talking to Annie.

gain ANNIE

goto party

}}“Talk to Angel”{

if (ANGEL){

NARR
You already talked to Angel.

goto party

}else{

NARR
Scene here for talking to Angel.

gain ANGEL

goto party

}}“Talk to Alexandria”{

if (ALEXANDRIA){

NARR
You already talked to Alexandria.

goto party

}else{

NARR
Scene here for talking to Alexandria.

gain ALEXANDRIA

goto party

}}“Talk to Brandi”{

if (BRANDI){

NARR
You already talked to Brandi.

goto party

}else{

NARR
Scene here for talking to Brandi.

gain BRANDI

goto party

}}“Talk to Lana”{

if (LANA){

NARR
You already talked to Lana.

goto party

}else{

NARR
Scene here for talking to Lana.

gain LANA

goto party

}}“Talk to Aaliyah”{

if (AALIYAH){

NARR
You already talked to Aaliyah.

goto party

}else{

NARR
Scene here for talking to Aaliyah.

gain AALIYAH

goto party

}}“I’m done.”{

if (AMBER){
if (ANNIE){
if (ANGEL){
if (ALEXANDRIA){
if (BRANDI){
if (LANA){
if (AALIYAH){

goto done_talk

}}}}}}}}

if (AMBER){

NARR
You didn’t finish talking to everyone yet!

goto party

}else {

NARR
You didn’t finish talking to everyone yet!

goto party

}

label done_talk

#moving on, back to main storyline.

NARR (JEM)
Well that was fun, time to dance like a party maniac!

And that’s all! :hibiscus:

Amazing threads/web pages to check out:

  1. https://www.dara-amarie.com/remember-choice
  2. HOW TO: Nested Choices
  3. "List" of Helpful Threads
  4. HOW TO: Reset Story Progress + Bonus Stuff :blob_sun: (reset your gains-which are flags-to test how this will go)

P.S I tested this out to see if it runs smoothly and for me, it did. Feel free to test it out and let me know what you get, it should work, I believe :wink: :wilted_flower:

14 Likes

I’d only fix one part…,

Starting here:
”I’m done.” {

if (AMBER) {
if (ANNIE) {
if (ANGEL) {
if (ALEXANDRIA) {
if (BRANDI) {
if (LANA) {
if (AALIYAH) {
NARR
You talked to everyone.
goto done_talk
} else {
NARR
How about talking to Aaliyah too?
goto party
}
} else {
if (AALIYAH) {
NARR
How about talking to Lana too?
goto party
} else {
NARR
How about talking to Aaliyah and Lana too?
goto party
}
}
} else {
NARR
You didn’t finish talking to everyone yet!
goto party
}
} else {
NARR
You didn’t finish talking to everyone yet!
goto party
}
} else {
NARR
You didn’t finish talking to everyone yet!
goto party
}
} else {
NARR
You didn’t finish talking to everyone yet!
goto party
}
} else {
NARR
You didn’t finish talking to everyone yet!
goto party
}

}

1 Like

Awesome!

3 Likes

Yep, that’s fine, too. The very last else statement should end with double }} though, so it’s:

} else {
NARR
You didn’t finish talking to everyone yet!
goto party
}
}

label done_talk

#moving on, back to main storyline.

NARR (JEM)
Well that was fun, time to dance like a party maniac!

But yeah, that works as well, it’s a very cool way to do it :sunglasses: :100:

3 Likes

Yeah I thought about it while I was shopping :joy: I remembered I forgot to close it :joy::heart::heart:

1 Like

Tysm! :two_hearts:

1 Like