Skip to content

Environment

Autumn edited this page Jul 20, 2022 · 1 revision

Environment Scripting

Here is an (incomplete) list of the scriptable environment elements.

Triggers

Name PlayerEnterRegion
When The player's avatar (ship/sub) enters a named region within the world.
Arguments regionId (identifier): The id of the entered region
Name PlayerExitRegion
When The player's avatar (ship/sub) exits a named region within the world.
Arguments regionId (identifier): The id of the exited region
Name ScriptObjectDestroyed
When A script object in the environment is destroyed (ex. by the ice breaker)
Arguments objectId (identifier): The id of the script object

Variables

Name temp:camera.region
Description The id of the last entered camera hint region
Type identifier

Methods

Clone this wiki locally