Skip to reading
Visual Scripting in Depth

21. Join branches without running both

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView PDF page

Suppose either response should finish by restoring player input. Both responses can connect to the same restore action. The runner reaches that shared node from whichever branch it actually took.

Source table from 21. Join branches without running both, page 25
FromOutputTo
Check answerTRUESuccess response
Check answerFALSEFailure response
Success responseNEXTEnable player input
Failure responseNEXTEnable player input
Enable player inputNEXTEnd

That is a merge, not a parallel join. There is no pair of simultaneously running branches for the last node to wait on. One call follows one path at a time.

1. Give the condition one TRUE wire and one FALSE wire.

2. Make each route do only the work intended for that outcome.

3. Connect both routes to a shared cleanup step if they need the same cleanup.

4. Test the two routes separately.

5. Check early Returns and Ends: they stop before any cleanup further down the graph.

Keep one wire per named output. If you need two actions after a success, connect Success → Action A → Action B. Two wires from Success are not a fan-out feature in this runner.

Page 25 of 93Permalink
Go to page