Writer's Portal Update: Labels and Branches

Oui, @EliseC explained it well :blob_sun:

if (BAD) {

goto villainbranch <—if they have chosen being bad before and have the gain/flag BAD (or whatever the gain name is), then this goto will take them to the label it shares the same name with (so goto villainbranch will lead to label villainbranch, which we know is inside the choice “I’m a villain” down below)

} elif (GOOD) {

goto herobranch<—if they have chosen being good before and have the gain/flag GOOD (or whatever the gain name is), then this goto will take them to the label it shares the same name with (so goto herobranch will lead to label herobranch, which we know is inside the choice “I’m a hero!” down below)

} else {
<—Here they may have previously been good or bad or chose another option, since they didn’t gain GOOD or BAD so in this case, they have the option to choose whether to be good or bad in this situation.
}

#else pathway continues (you are asked if you’d like to play through the hero or villain choice) So in other words, it’s your choice. See, it’s fun being neutral : D

WISE SOUL
Hi, are you a hero or a villain for this choice?

choice “I’m a hero!” {

label herobranch (people who had gain/flag GOOD and then reached goto herobranch there were lead here)

YOU
I’m a hero!

#continue

} “I’m a villain” {

label villainbranch (people who had the gain/flag BAD and then reached goto villainbranch there were lead here)

YOU
I’m a villain!

#continue

}

#Back to the main story-line

Also since labels are allowed in choices, it appears that you can include dressing games and CC template inside of choices now. In addition, they appear to work with if/elif/else (labels go inside). When I tried/coded it, it didn’t give me an error although I have yet to test it for myself on the app (I’m not on my phone right now lol) :blob_hearts:

18 Likes