Jumps
Learn to use the jump command to move the narrative between nodes.
The <<jump>>
command is used by writing <<
then the word jump
, a space, and then the full title of the node you want to jump the narrative to, then another >>
.
For example, to jump to a node with the title Rescue_the_Kitten
you would write <<jump Rescue_the_Kitten>>. You should place jump
Yarn Spinner Scripts can get pretty complex pretty fast, so it's a good idea to use the <<jump>>
command to jump to a different node to keep sections of dialogue cleanly separated.
For example, consider the following conversation, whic could be structured inside one node, using nested options, or split over several nodes using options and jump commands:
Separating dialogue segments into nodes can aid in writing neater files that are easier to edit as they grow.
Last updated
Was this helpful?