Skip to reading
Visual Authoring Workbench

Review a function before exposing it

Edition 0.86.4.7

Illustrated 0.86.4.7 visual-authoring guide with five follow-up lessons. Its workbench examples are included with the Studio release.

Download PDFView illustrations
On this page

PCA 3D ADVENTURE STUDIO / VISUAL AUTHORING

Functions as Actions and Nodes lets authors call code from the Visual Script Editor, a GUI event or a normal action list.

Discover and review#

Open a script and open its function definitions. The dialog reads the current editor text. Select the declaration in the list and compare its proposed parameter order, types, defaults and return type with the saved definition. A computed default or unsupported declaration may require manual entry.

Apply reviewed signature updates the dialog draft. Use Definitions commits the reviewed definitions.

Keep a friendly label such as Tune the radio and a category such as Instruments. Click Apply reviewed signature, then Use Definitions. Open a GUI event and select the function. Set each fixed argument in its typed field, or choose Expression to read a variable, argument or event context.

When a signature changes#

Open each affected Call Script Function action. Review the saved arguments in the warning. Use current signature and keep matching arguments preserves arguments with matching names. Review their types and supply any new required arguments before testing. A removed function remains a missing reference until repaired.

Designer guide   •   0.86.4.7                                                                       3

0.86.4.7 | Related lesson: Keep a GUI event pointed at the right record. Open p. 8 >

Page 3 of 11Permalink
Go to page