How to end an episode using a choice?

As the title says, how do you end an episode using a choice?

Example:

Person A is talking to person B.
Person A and B are a couple.
You have the choice to slap Person B or just roll your eyes and leave.
Person A slaps person B.
Person B breaks up with person A.
Person A is heartbroken.
{episode end}
Or if you choose not to slap person B, episode continues.

2 Likes

you’d probably code something along the lines of

choice
β€œslap person b”{
goto chapterend
}
β€œdon’t slap person b”{
goto chaptercontinue
}

label chaptercontinue
(the episode continuing)

label chapterend
(the episode ending. note this has to be at the end of the episode’s code lol)

1 Like

Ahhh, the label has to be at the end, right? Or the whole thing?

the label chapterend (or whatever you choose to name the label that ends your chapter) and the coding within that label will have to be at the end of the chapter ! the other coding (the choice coding and the other label) can be anywhere in the chapter’s code

1 Like

Thank you!

1 Like

you can check this out, so it’s easier and you don’t have to make a whole thread then :smiling_face_with_three_hearts:

2 Likes

Omg thank you so much, I was feeling bad because I kept having to make threads for questions and didn’t wanna ask anyone in dm.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.