ScriptProxy

ScriptProxy

Loads and provides access to a custom script. A ScriptProxy object is not a
full Script object, but it does provide a Script object's functions and
externals.

ScriptProxy objects are created and updated by ScriptHandler. The script
objects that use the ScriptProxy are created by the ScriptComponentHandler
and MachineHandler when processing script instance configuration using
Scripts.load and Scripts.update.

Constructor

new ScriptProxy()

Initialize a new ScriptProxy object.

Members

areScriptErrors

Indicates if errors occurred when loading the script.

errorLineNumberOffset

The line number offset for errors generated by the proxied script.

Methods

updateConfig(config, options)

Update this ScriptProxy object's configuration.

Parameters:
Name Type Description
config object
options object