Problems, notes and validation
What this page is for
Section titled “What this page is for”The Studio checks every node as you edit and tells you what is wrong, on the node, in the toolbar and in the Element Inspector. A problem is something the node cannot do as set, while a note is only information about how the scheme is wired.
When you come here
Section titled “When you come here”- A node shows a red or amber badge and you want to know why.
- The toolbar shows a number next to a warning sign, or a count of notes, and you want to find what it counts.
- You want to know what a message such as Add at least one condition. asks of you.
What you see
Section titled “What you see”- Start, output Start, goes to Wait Until.
- Wait Until, output Met, goes to Chance.
- Chance, output Success, goes to Succeed Scheme.
- Problems counter. Counts the nodes that have an error or a warning. Click it for the next one.
- Error badge. The crossed circle: the node has an error. The first message is under its body.
- Warning badge. The triangle: a warning, and no error.
- Note line. A quiet line with an i. It is information, not a problem.
The figure shows two problems and two notes:
- Wait Until has no condition. That is an error.
- Repeater has a count of 0. That is a warning. It also has a note, because no link leads to it.
- Chance has a note, because Success is linked and Failure is not.
The Problems counter reads 2 because it counts nodes with a problem, not messages. The Notes counter would read 2 notes.
Runs the linked nodes again each time all of their flows have ended. Done runs after the last round, or after a Break Loop.
Do it, step by step
Section titled “Do it, step by step”Find the nodes that have a problem
Section titled “Find the nodes that have a problem”Look at the toolbar. The Problems button shows a warning sign and a number, and is hidden while the number is zero. Click it to select the next node that has a problem and to bring it into view.
The nodes come in the order of their place on the canvas: from the top down, and from left to right when two sit at the same height. After the last one, the next click goes back to the first.
Hover text: Problems in this graph. Click to go to the next one. A node with three messages counts once. A problem on a folded line counts for the card that holds the line.
Clicking only changes the selection, so there is nothing to undo.
Read a problem on a node
Section titled “Read a problem on a node”A node with an error shows a crossed circle in its header. A node with a warning shows a triangle. If a node has both, the error shows.
Under the node’s own lines, the card repeats the first message in red or amber. Hover the badge to read all of them, errors first, then warnings, one per line.
A card that holds folded lines shows the badge for its lines too. The hover text then lists the messages of the lines after those of the card. See Folding: Then also.
Read the same problem in the Element Inspector
Section titled “Read the same problem in the Element Inspector”Select the node. The Element Inspector shows its problems first, above the node’s own settings, each with a small icon: errors, then warnings, then notes. Fix the setting the message names, and the message goes away.
Find a problem inside a node group
Section titled “Find a problem inside a node group”A collapsed node group is one card. Its badge shows how many of its nodes have a problem. The hover text lists, for each of those nodes, the node’s title and its first message.
The Groups tab of the Library shows the same badge on the group’s row. Its hover text reads 1 node has a problem. or, for more, a number followed by nodes have a problem.
See Node groups and The Library.
Read a note
Section titled “Read a note”A note is a short line with an i, under the node’s body. It shows the node’s first note, and when there are more, it adds (and 2 more) with the right number, and the hover text lists all of them.
The Notes counter in the toolbar reads 1 note, 2 notes and so on, and is hidden at zero. It counts notes, so a node with two notes adds two. Click it to select and show the next node with a note. Hover text: Notes about the structure of this scheme (for example a node nothing links to). Click to go to the next one.
A note never changes the Problems counter and never blocks anything. The Studio shows notes only for schemes, and not in Play mode.
There are four kinds of note:
| Note | Shown on | When |
|---|---|---|
| Nothing is linked to Start: this scheme does nothing when it starts. | Start | Nothing leads out of Start. |
| No flow reaches this node. | Any node | No flow from Start can reach it. |
| Nothing is linked to “Failure”: the flow ends here. (the name of the output changes) | Chance, and Show Dialogue (its choices) | One output is linked and another is not. A Show Dialogue counts its Timeout output only while it has a time limit. A node with no output linked at all gets no such note. |
| Shown unfolded: and a reason | A node that Fold changes would fold, but cannot | The reason says why. The reasons are: this kind of node, as it is set, stays a card, nothing links here, another link leads here, the output that leads here also leads elsewhere, its outputs lead to different places, it follows a Random Branch, whose odds name it, it is a step of a Sequencer, no card leads here. |
Other nodes do not get the note about an open output. A condition with only one side linked is a normal shape.
Read an information line
Section titled “Read an information line”Some nodes add a line that is neither a problem nor a note. It shows in the node’s Reads as paragraph in the Element Inspector. An example is Both sides are the same person (Target): this never applies. It adds no badge and is never counted. A Set Variable adds one when the next node is also a Set Variable, and points to the command Merge into One Set Variable.
Fix a problem
Section titled “Fix a problem”Edit the node in the Element Inspector, or add the missing link. The badge and the counter follow once the node no longer reports the message. Notes are worked out again when you add or remove a node, a link or an output, and not when you edit a field.
To undo an edit, press Cmd or Ctrl plus ZCmdCtrlZ, as for any edit.
How it connects
Section titled “How it connects”You come from The Element Inspector and Scheme settings. The next lesson is Test run: play a scheme in the Studio.
Other pages count problems too. A list page marks an entry that has a problem, and its overview says how many have one. On the Families page the Problems counter counts family cards, as on a scheme. On the Clans page it counts the entries of the court and reads 0 while the clans overview shows.
Nodes named here: Wait Until, Repeater, Chance, Show Dialogue, Start.
Settings on this page
Section titled “Settings on this page”This page has no setting. The checks cannot be turned off.
Mistakes and messages
Section titled “Mistakes and messages”The counter says 2, but I count more messages. The counter counts nodes. Open each node to read all its messages.
A node has a note and no badge. That is right. A note is information. Only an error or a warning gives a badge.
I see no notes in Play mode. The Studio does not work them out there.
A message names a field I cannot find. Select the node and read its Element Inspector. The fields keep their names.
These messages come from the nodes. The text is the node’s own; the last column says what to do.
| Node | Message | Kind | What to do |
|---|---|---|---|
| Wait Until, Check | Add at least one condition. | Error | Add a condition in the Element Inspector. |
| Show Dialogue | Add at least one choice. | Error | Add a choice. |
| Send Signal | Choose a signal. | Error | Pick a signal. |
| Fire Trigger, Wait For Trigger | Enter the trigger name. | Error | Type the name of the trigger. |
| Run Code | Choose a method. | Error | Pick a code method. |
| Jump To | Jump Target not found | Error | Pick a Jump Target that exists. |
| Repeater | Count is 0: the loop never runs. | Warning | Set Times above 0, or turn on Forever. |
| Wait | No Stop Wait stops this wait: it holds the scheme until the scheme ends. | Warning | Add a Stop Wait that stops this wait, or turn off Until Stopped. |
| For Each Actor | Nothing is linked to Each. | Warning | Link the Each output. |
| Show Dialogue | The Timeout output is connected, but Timeout is 0, so it never runs. | Warning | Set a time limit, or remove the link. |