Scriptsystem

Functions

Script name <- newScript (String datapath)
Create a new script from a file or data object.

Script name <- bindScript (String datapath, Resource object)
Create a new script from a file or data object, and bind it to a resource object.
The Resource's GUID will be available within the script's scope as 'CONTEXT'

Boolean success <- startScript (Script object)
Add a script to the script scheduler.

Boolean success <- startScript (Script object, String scheduling_units)
Add a script to the script scheduler using the specified scheduling unit.
Valid scheduling unit values are "iterative" and "ticks"