Globals
13 global names supplied by the engine.
Globals are supplied by the runtime. Individual pages list execution-side restrictions.
- Enum: Provides access to named enumerations.
- Game: The DataModel root under its capitalised spelling.
- Instance: Creates instances of concrete classes.
- SharedTable: Provides tables that can be shared between execution groups.
- System: Runs a scheduled ECS callback from a script instance.
- Workspace: The Workspace service, under its older capitalised name.
- game: References the DataModel root and provides service access.
- json: The global JSON encoder and decoder.
- script: References the executing script instance.
- shared: Stores values shared by scripts in the same runtime.
- task: Schedules, yields, and cancels script threads.
- warn: Writes a warning message to script output.
- workspace: References the Workspace service.