Hi I need help with labels

#Example:

#for the very first episode only:

#beginning messages

label choose_language

NARR
What language do you want to play the story in?

choice
“Spanish.” {

NARR
Are you sure you want to play in Spanish?

choice
“Yes.” {
gain SPANISH
goto spanish_path
} “Wait, take me back.” {
goto choose_language
}
} “English.” {

NARR
Are you sure you want to play in English?

choice
“Yes.” {
gain ENGLISH
goto english_path
} “Wait, take me back.” {
goto choose_language
}
}

label spanish_path
#WHOLE STORY-LINE IN SPANISH GOES HERE
goto end_chapter

label english_path
#WHOLE STORY-LINE IN ENGLISH GOES HERE
goto end_chapter

label end_chapter
#ending messages at the end of the chapter

#then to remember it for future episodes (episodes 2 and up):

if (SPANISH) {
goto spanish_path
} else {
goto english_path
}

label spanish_path
#WHOLE STORY-LINE IN SPANISH GOES HERE
goto end_chapter

label english_path
#WHOLE STORY-LINE IN ENGLISH GOES HERE
goto end_chapter

label end_chapter
#ending messages at the end of the chapter

#Notes:

  • You put the whole Spanish storyline under label spanish_path (you can include clothing options in the story-line, too, don’t worry, because it’s not in an if/elif/else)

  • At the end of the Spanish storyline, you put a goto end_chapter so it takes the reader to the end of the episode (otherwise if you forget to do this, the whole English storyline will play)

  • When you’re going to test the other language path, don’t forget to reset your gains (which are flags). How to here: HOW TO: Reset Story Progress + Bonus Stuff :blob_sun:

1 Like