Zoomed Image

AMSX Scripting Language - Command : call

Summary

Call an AMSX script file in an isolated scope

Description

Executes another AMSX script file in a new, isolated scope. Unlike CallLocal, the SLOT variables and result buffer are not shared. Use this to call reusable subscripts without polluting the current variable state.

Parameters

ParameterDescription
cmdScript file name
Argument 0XML parameters to pass to the subscript
Argument 1Parent transform name
Argument 2QueryString parameters
Argument 3Flag to add variables (true/false)
Argument 4UniqueID

Syntax


Call "Script file name", "XML parameters to pass to the subscript", "Parent transform name", "QueryString parameters", "Flag to add variables (true/false)", "UniqueID"

Return to the AMSX Command Reference