Flow nodes
Flow nodes decide how a scheme starts, ends and which way it goes. Start and End open and close it. Chance and Random Branch pick a way at random, the loop nodes run a part of the graph again, a set number of times, for ever, or once for each actor or clan of a group, until they finish or a Break Loop ends them, and the jump, pause and cancel nodes steer the flows that are already running.
The nodes
Section titled “The nodes”This group has 20 nodes.
| Node | What it does |
|---|---|
| Start | Runs when the scheme starts. |
| End | Runs when no flow is left: first Always, then the output that matches the result. The scheme ends afterwards. |
| Succeed Scheme | Sets the scheme's result to Success. The scheme ends with this result when its flows have ended; add Cancel Other Flows to end it now. |
| Fail Scheme | Sets the scheme's result to Failure. The scheme ends with this result when its flows have ended; add Cancel Other Flows to end it now. |
| Pause Scheme | Pauses the scheme (waits and loops hold) until code or a Resume Scheme on one of its still-running flows resumes it. |
| Resume Scheme | Resumes a scheme that a Pause Scheme node paused. |
| Jump To | Continues from a Jump Target, as if the flow had arrived there. |
| Jump Target | An anchor that Jump To nodes continue from; link Continue to the nodes that should run. |
| Cancel Other Flows | Ends every other running flow of the scheme, including loops, stops waits and sounds, closes dialogues, then continues. |
| Chance | Continues with Success or Failure at random; variables can raise or lower the chance of success. |
| Random Branch | Continues with one of the linked nodes, picked at random. Each branch can have a weight; equal weights give equal odds. |
| Run Together | Bundles several nodes into one link; they start one after another, top first. Use it as one step of a Sequencer or branch of a Random Branch. |
| Run In Background | What follows does not keep the scheme going, and a loop round or Sequencer step does not wait for it. It stops when the scheme's End flow starts. |
| Repeater | Runs the linked nodes again each time all of their flows have ended. Done runs after the last round, or after a Break Loop. |
| Break Loop | Ends the Repeater, For Each Actor or For Each Clan loop this flow runs in: no further round starts. The loop's Done runs, then this flow goes on. |
| Sequencer | Runs the linked steps one after another, from top to bottom. Each step waits until every flow of the one before has ended. Done runs after the last step. |
| Skip Sequencer Step | When the current step of the Sequencer has ended, the Sequencer goes on with the chosen step instead of the next one. |
| Break Sequencer | Ends the enclosing Sequencer: the other flows of the current step end and no further step starts. The Sequencer's Done runs, then this flow goes on. |
| For Each Actor | Runs the Each output once for every actor of a group, one after the other. Inside the loop, that actor is the Current Actor. Each One Is gives it a name. |
| For Each Clan | Runs Each once per clan of a group. |
See also
Section titled “See also”- All nodes: how a node page is laid out, and every group.
- How a scheme runs explains flows, waits and loops.
- Odds and random branches shows Chance and Random Branch at work.