End
End
On Success
On Failure
No Result
Always
- Group
- Flow
- In the node menu
- Flow › End
- Where it can be used
- Scheme graphs
- Tags
What it does
Section titled “What it does”End runs once no flow is left in the scheme. Flows after a Run In Background do not count, and they end when End starts. It starts the nodes linked to Always first, and only then the nodes of the output that matches the result of the scheme. When those flows have finished, the scheme is over. Because the Always flows can still change the result, a Succeed Scheme or Fail Scheme placed there decides the outcome before the matching output is read.
Example
Section titled “Example”End
On Success
On Failure
No Result
Always
When to use it
Section titled “When to use it”Put the closing message and the final consequences here, so that every path that set the result tells the player the same way. Set the result with Succeed Scheme or Fail Scheme.
Use Start instead for what should happen as the scheme begins.
Good to know
Section titled “Good to know”- End has no input. It runs by itself, and you cannot add, delete or copy it.
- The result is read after the Always flows have finished, because they can still change it.
- When no node set a result, the No Result output runs, and a scheme that ends this way still tells game code that it ended.
- The scheme is not checked against its requirements once End runs.
Settings
Section titled “Settings”This node has no settings.
Outputs
Section titled “Outputs”- On Success
- On Failure
- No Result
- Always
In a draft
Section titled “In a draft”- Alias
- Every scheme has it already. A draft writes it only as
"end", without"type". "then"keys"On Success","On Failure","No Result","Always"
"end": { "then": { "On Success": "<alias>", "On Failure": "<alias>", "No Result": "<alias>", "Always": "<alias>" }}