Skip to content

Break Loop

Group
Flow
In the node menu
Flow › Loops › Break Loop
Where it can be used
Scheme graphs

A Break Loop ends the loop that its flow runs in. No further round or turn starts. The other flows of the running round end, which stops their waits and closes their dialogues.

Then Done runs. The flow that reached the Break Loop goes on through Out.

A Break Loop of the demo scheme Scheme 1: Court Favour (Drafts/schemes/01-court-favour.json).

Use it to leave a loop early, for example when a Repeater on Forever should stop once something has happened.

Use Break Sequencer instead when the flow runs in a Sequencer.

  • If no Repeater, For Each Actor or For Each Clan leads to the node, the card warns that it does nothing.
  • It works for a For Each Clan too: that loop turns and breaks like For Each Actor.
  • A flow that has already gone on after its loop was broken changes nothing when it reaches a second Break Loop. It never reaches the loop around.
  • When no loop is running around the flow, the node only writes a log line and the flow goes on.

This node has no settings.

  1. Out
"type"
"Break Loop"
"then" keys
"Out"
"<alias>": {
"type": "Break Loop",
"then": "<alias>"
}