Post

In Yarn Spinner v3, we've added a bunch of features that can simplify the structure of even the most complex narratives in Yarn. Including: • Run this content only once • Run this content then jump back to where we were • Dynamically select from some set of possible lines or nodes to run 🧵👇

Node/line groups say "here are some pieces of content that could equally be run here". Choosing between them can be done by specifying conditions in which particular one are chosen, or choosing at random, or some combination of both. This is great for barks and dynamic dialogue!

1 repost5 likes

Detour allows jumping away to another node and then back again to the potentially mid-node point you jumped from. This is great for reducing repetition or complex logic for reused content, such as hub nodes or player hints!

Once allows you to say some content will only ever be seen once, without wasting single-use variables. Not only that, but it can have a condition - Yarn Spinner will run this content ONCE (one time), ONCE (after) that condition first becomes true. This is great for content like NPC intros!