Skip to reading
Action Lists & Events

Check the function definition

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

The definition below describes the reward function from the preceding lesson. Its names, order and types match the code: points first, then message.

Figure 21. Functions as Actions and Nodes: the function metadata and Use Definitions button.

Use Definitions accepts this dialog. Apply Changes in the script editor then stores the script record, including the definitions. Save the project after both steps.

If you change the definition later, keep the function signature in the source aligned. Metadata describes code; it does not rewrite the function for you.

Page 33 of 189Permalink
Go to page