LevelController

The Level Controller Entity is capable of running a script that can control MovingPlatform entities, Door entities, WallDecals and the AudioSource3D entity. To have one of these entities controlled by a script, the TriggerName of the entity must be: *Programmed*

Field Descriptions

The fields for the LevelController entity are:

Field Description
Enable true to enable the entity, false to disable the entity
InitOrder Name of the Initialization Order
ScriptName Name of LevelController script
StartOrder Name of the first order called after the script is initialized
szEntityName The name of this entity

LevelController Scripting

LevelController scripting is very similar to the scripting of a Pawn. There can be multiple level controllers in a script, each sharing the same script. (Pawns do not share their script. The LevelController entity does.) They can each have their own Start Orders and can share global variables within the script. LevelController scripts always run at a Low Level. Below is a list of Level Controller script variables and methods.

A complete list of available methods and variables can be found here.