Skip to reading
Visual Scripting in Depth

3. Create and name a Visual Script

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 illustrations

Figure 4. The script record has its own ID, display name, description and database folder.

1. Open Visual Scripts from the workspace toolbar or Adventure Database.

2. Press Add New in the Visual Script Designer. The new record starts with an empty graph. You can also use the database Add command and choose Visual Script.

3. Show the Inspector if it is hidden. In Fields, give the record a useful name, such as First Message.

4. Use a stable ID such as first_message. Apply Changes after editing the record fields.

5. Save the project, then select that record in the designer’s top dropdown.

The name is what people read. The ID is what actions and other records use to find the script. A picker may display First Message(first_message); the stored reference is still first_message.

Node edits and record identity edits use different controls. Edit a node’s fields inside the graph. Edit the whole script’s name, description or folder in the Inspector.

Use unique script IDs across all languages. Avoid renaming an ID after it has been assigned to many events. A friendly display name can usually be improved without changing the ID.

Page 7 of 93Permalink
Go to page