Make the output tell a story
OUTPUT & DIAGNOSTICS
Give the log one short line at each point where the answer could change. You’re trying to learn whether the button ran, what it received and what it decided.
Output & Diagnostics collects messages as the preview runs. Open it again from Panels if it is hidden.
gate | entered
gate | tickets=2 price=2
gate | branch=closedThese are example log messages. Keeping the same prefix makes it easier to pick out one interaction among room-load, sound and inventory messages. Write the values before the choice and the chosen result inside each branch.
| No entry line | Trace the button, verb or event that should start the script. Make sure this is the record the game actually called. |
|---|---|
| Entry appears, no values | Inspect the statements between the two messages. Did a return, wait or failed call stop the path? |
| Values are right, branch is wrong | Look closely at the operator and the data types. A number and text that looks like a number can behave differently. |
| Correct branch, wrong screen | Trace the action that changes the visible room, object or label. Another handler may immediately overwrite it. |
Use log in PCA Script, PRINT in BASIC, and Log(...) in a PCA3D Lua or native GDScript record. Remove high-frequency tracing after the fix so important messages stay visible.
0.86.4.3 / Read a cue trace and camera diagnostics > Page 33
