Skip to reading
Replace the Built-in Screens

Use the helpers from visual scripting and action lists

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

1. Create the normal wrapper record first and test it with the GDScript Designer’s Validate control.

2. Open the object, GUI event or action-list editor where the operation belongs.

3. Add Run Script / Run Visual Script and select the wrapper by its name and ID.

4. Put the call after any condition that determines whether the operation is allowed.

5. For a sequence such as “learn the clue, add a note, then speak,” keep those actions in that order.

6. Use Play to test the actual event rather than relying only on the script’s Run button.

The shared wrapper route avoids rebuilding the same menu or notebook logic in several event editors. A visual graph can call remember_door; a GUI Button can call the same record; an ordinary script can call the controller function directly.

If you expose controller functions as visual nodes, keep the node’s parameter types and defaults clear. Character and GUI parameters should contain reusable IDs, while title and body parameters contain display text.

Keep the controller IDs stable. Renaming a visible menu title is harmless; silently renaming options_tools or journal_tools breaks calls that still use the old ID.

Page 82 of 88Permalink
Go to page