Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

OSCall

Executes an OtterScript Script stored in a raft.

Script usage:

OSCall(
	Name: <text>,
	[Parameters: <%(key1: value1, ...)>],
	[Variables: <%(key1: value1, ...)>],
	[OutputVariables: <@(text)>]
);

This operation may be prefixed with Core::, although this is a built-in namespace and isn't really necessary.

Arguments:

NameFormatScript UsageUsage Notes
Name (default)
text
Name
The name of the script asset. This argument is required.
Parameters
%(key1: value1, ...)
Parameters
Variables
%(key1: value1, ...)
Variables
Specify parameters to pass in to the script using a map. For example: %(param1: $SomeVariable, param2: @(list,of,items))
Output variables
@(text)
OutputVariables
Specify variables to capture and set in the calling scope using a list. For example: @(filePath,errorMessage)

Note: Runtime variables you've defined before executing an Invoke operation will not be visible to the invoked script, and variables that you set within the invoked script will not be available.