Skip to reading
Action Lists & Events

Call Script Function

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 PDF page

ID: CallScriptFunction | Native inspector · Shared list / GUI · Visual graph · Text action wrapper · Timeline

Call a function published through Functions as Nodes, pass named parameters, and optionally store its return value.

Source table from Call Script Function, page 65
Field / stored keyWhat to enterStarting value
Function functionKeyText/reference.Blank
Parameters parametersA typed value or valid JSON.{}
Result Variable resultVariableName of the game variable that receives the returned value.Blank

Timing: Waits for the published function call.

In use. Publish a reward function with points and message parameters. Choose it here, enter those parameters, and store the result in reward_ok. The function must be defined and published first; this action does not infer a function from an arbitrary name.

End Visual Script#

ID: EndVisualScript | Native inspector · Shared list / GUI · Visual graph

Request that the running visual graph finish. Also End Calling Script controls whether the parent visual call should end too.

Source table from Call Script Function, page 65
Field / stored keyWhat to enterStarting value
Also End Calling Script endParentAlso request termination of the calling visual graph.true

In use. Use it on an early-out branch inside a graph. It is not a general break statement for a room or GUI action array: the ordinary array runner continues iterating its remaining entries. Use graph End or a script return for a clear branch exit.

Page 65 of 189Permalink
Go to page