Disable your Ad Blocker! Thanks :)
Chapter 4
by
gene.sis
What's next?
Restart
The settings of this chapter:
Chapter Link
This chapter is linked to the Roll the Dice.
Conditions:
00 Points Olivia = 6
Score Changes:
00 Points Ethan = 0
00 Points Olivia = 0
00 Round = 0
00 Previous Round = 0
00 Previous Round - 1
Link Chapter Destination:
Roll the Dice
Notes:
- All Score Changes are identical in the two chapters titled Restart. The only difference is that the Condition is Points Ethan in one chapter and Points Olivia in the other one.
- In the round that leads to the choice of the options titled Restart, a new value for Result has been calculated. As the game is over when someone has 6 points, this new value is ignored.
- All other chapters have the conditions of Points Ethan and Points Olivia being lower than 6. Thus, the two options Restart are mutually exclusive to the other chapter options.
- All Score Changes in the chapter are used to reset values as they were in the chapter Simple Game of Dice. As the variable Previous Round already has a value, it isn't possible to directly set it to - 1. Thus, the variable is first set to 0 before subtracting 1.
- Both chapters link back to the hub chapter. When you use such a structure in your story, the chapter options Restart might instead be used to continue with the story. In that case, one of the options might link to the other chapter option. That chapter option would be a regular chapter.
What's next?
- No further chapters
- Add a new chapter
Conditional Branches Showcase (source code)
Conditional Branches - source code
Comments moved below the chapter.
Jump to comments
Comments