HOW TO: Use [shouldPaginate: YES]

[shouldPaginate: YES] and [shouldPaginate: NO] when tested on the app give the same results (so both show the next button down below, here’s an example code, taken from Dara’s coded mouth shapes in ink):

label femlcc_mouthz

NARR
Mouth shapes.

choice [shouldPaginate: NO]
Blossom Lips” {
@YOU changes mouth into Blossom Lips
goto femlcc_mouthz
}“Classic” {
@YOU changes mouth into Classic
goto femlcc_mouthz
}“Classic Slender” {
@YOU changes mouth into Classic Slender
goto femlcc_mouthz
}“Full Round” {
@YOU changes mouth into Full Round
goto femlcc_mouthz
}< LOCKED>“Select Color”{

NARR
This choice is locked.

goto femlcc_mouthz

}“Done”{
goto femlcc_customz
}
Mature Medium” {
@YOU changes mouth into Mature Medium
#—>Now on the next page of options: starts here, bolded, 6 on each page
goto femlcc_mouthz
}“Mature Round” {
@YOU changes mouth into Mature Round
goto femlcc_mouthz
}“Mature Slender” {
@YOU changes mouth into Mature Slender
goto femlcc_mouthz
}“Thick” {
@YOU changes mouth into Thick
goto femlcc_mouthz
}< LOCKED>“Select Color”{

NARR
This choice is locked.

goto femlcc_mouthz

}“Done”{
goto femlcc_customz
}

label femlcc_customz

NARR
Are you done yet?

choice
“Yes”{

readerMessage This portion of the mouth shapes code comes from dara.amarie.ep

}“No”{

goto femlcc_mouthz

}

Also there wouldn’t be a space between < and L for < LOCKED> but if I put the < next to the L on the forums, it disappears then. For the locked choice, you can write LOCKED next to it with < and > however even then the reader can still pass. In order to lock it for real, you need to put a goto in it that leads to a label it shares the same name with. For example:

}< LOCKED>“Select Color”{

NARR
This choice is locked.

goto femlcc_mouthz

}

Here, the goto femlcc_mouthz would lead to label femlcc_mouthz which is located right at the beginning of the mouth shapes choices (so since the choice is locked, the goto within it will lead to the label-the checkpoint-it shares the exact same name with, no spaces):

label femlcc_mouthz

NARR
Mouth shapes.

choice [shouldPaginate: NO]
Blossom Lips” {
@YOU changes mouth into Blossom Lips
goto femlcc_mouthz
}

Picture:

Refresher on labels and gotos: 🖤 HOW TO: Labels and Gotos 🖤 and feel free to check out: HOW TO: Color Code and Lock A Choice :desert_island:

1 Like