Test a scheme without Play mode
Goal: see a scheme work, or find the node where it goes wrong, without entering Play mode.
Nothing is saved.
The run plays in a copy of your world, so you can try a branch, stop, change the graph and try again as many times as you like without touching the real game.
- Open the scheme. Click Run in the toolbar, or press F5.
- The first time, the Test run setup window opens. Pick the Conspirator and the Target. Under You play, choose who you play. Click Run.
- Watch the run. The state under the toolbar reads Running, then Ended: with Success, Failed, No result, Stopped or Error. A dialogue for the actor you play opens as a card. Press a choice.
- To try another branch, click the arrow beside Run and pick Run with setup…. Under Decisions, set Chance and random branches to Ask me, or pick Always take for one row.
- To skip the start of a long scheme, select a node and choose Run from here (Alt/Option+F5). The nodes before it do not run.
You will see: the path the flow took, drawn on the canvas. Press stop and the copy of your world is thrown away. The path stays.
Good to know
Section titled “Good to know”Run from here needs a setup the scheme remembers, so run the scheme once first. Run to here holds the run in front of a node, and the outcomes on the way are forced so that the run gets there. Run again with new dice is in the menu beside Run. Skip waits jumps the clock from one wait to the next, which helps when a scheme waits for days.
While a run is live, the scheme is locked. Stop the run first. An edit is refused with “Stop the run to edit.”
What can go wrong
Section titled “What can go wrong”- Run is grey. Unity is in Play mode or compiling scripts. It is missing when no scheme is open.
- Your own code does not run in a test run. The setup window shows Code answers: give an answer in its place, or choose Ask me when it is called.
- A dialogue with a time limit does not count down. Use Let it time out to run the Timeout output.
- The run will not start: the line Can it start: shows the reason. Start anyway runs it regardless.
Every control, the Run tab and the keys are on Test run: play a scheme in the Studio. To watch a whole world instead, see Simulation and Balance a scheme’s odds.