How to Create Simple Choices
​
How to Create a Simple Choice
To create a simple choice, all you need to do is follow this format:
CHARACTER
Dialogue
​
choice
"Choice 1"{
​
}
"Choice 2'{
​
}
"Choice 3"{
​
}
​
It is impossible to add a choice without dialogue before it, otherwise you'll get an error. Here is an example:
​
JADE (talk_excited_happy)
OMG! It's Nikita!
JADE (talk_think_rubchin)
How should I get her attention?
​
choice
"Jump on the table and dance!"{
What happens in this choice
}
"Yell her name!"{
What happens in this choice
}
"Grab her hand"{
What happens in this choice
}
​
Another format is this:
​
CHARACTER
Dialogue
​
choice "Choice 1"{
​
}
"Choice 2"{
​
}
"Choice 3"{
​
}
​
N.B.: You cannot have a choice without the word 'choice', otherwise you will get an error.
When writing a choice, make sure each choice has an opening bracket '{' and a closing bracket '}'.
When writing a choice, do not skip lines between choice options, and after the word 'choice', otherwise, your choices will not work.
​
Having more than six choices.
​
When adding more than six choices at a time to your script, in order to have the small 'Next, Previous and Last' buttons, use this code after writing the word 'choice':
shouldPaginate:YES
​
Here is an example of a choice with the shouldPaginate command:
​
JADE (talk_shrug)
What should I wear to the club?
​
choice [shouldPaginate:YES]
"Outfit 1"{
​
}
"Outfit 2"{
​
}
"Outfit 3"{
​
}
"Outfit 4"{
​
}
"Outfit 5"{
​
}
"Outfit 6"{
​
}
"Outfit 7"{
​
}
"Outfit 8"{
​
}
​
The first six will be shown on the first page, then the last two on the last page.
​
​
​