Skip to reading
Save Games & Inventory

Build the equivalent visual node flow

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 illustrations

Figure 48. A visual script calls Save Game Widget: Command with the same GUI, element, command and slot fields.

1. Create a visual script named Load the Selected Save.

2. Keep its interaction start node and add Save Game Widget: Command.

3. Connect the start flow to the new node.

4. Set GUI save_lab, Save Game Widget save_slots, Command load-selected and Explicit Slot -1.

5. Apply the script. Assign it to a Button with the script-running event behavior, then test a real saved slot.

An action list can contain the same shared action without a separate visual script. Use the form that keeps the behavior easiest to read. A short one-command Button rarely needs a large visual graph.

A visual node does not change the command’s meaning. Loading an empty slot still cannot restore a game, and load mode still governs widget-command loading.

Page 68 of 96Permalink
Go to page