Skip to content

Fail Scheme

Group
Flow
In the node menu
Flow › Fail Scheme
Where it can be used
Scheme graphs
Tags
  • Can be folded

Fail Scheme sets the result of the scheme to Failure. It does not end the scheme. The scheme ends with this result once every flow has ended. Meanwhile the flow that reached the node goes on, and so do all the others that are still running, so a flow that reaches this node while another one is still waiting leaves the scheme open until that wait is over.

The Fail Scheme node named lost in the demo scheme Court Favour (Drafts/schemes/01-court-favour.json). The End node then runs On Failure.

Use it where the plot has gone wrong. Put the closing message on the On Failure output of End, so that every path that failed is told to the player in one place.

Add Cancel Other Flows to end the scheme now. Use Succeed Scheme instead for the opposite result.

  • It only sets the result. Other flows keep running until none is left.
  • The node only runs in scheme graphs. Anywhere else it stops the flow.
  • A scheme that never reaches Succeed Scheme or Fail Scheme ends with no result, and the No Result output of End runs.

This node has no settings.

  1. Out
"type"
"Fail Scheme"
"then" keys
"Out"
"<alias>": {
"type": "Fail Scheme",
"then": "<alias>"
}