What it does
dialogue.choose takes index.
The API says: branch via choice.next
Signature
dialogue.choose(index)Arguments
index
Example · generated
function start() { dialogue.choose(0);}dialogue.choose is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.