genericdata#

Represents a generic script. Load with Game->LoadGenericData.

Variables#

bool

Running

int

DataSize

bool[]

ExitState

bool[]

ReloadState

bool[]

EventListen

untyped[]

Data

untyped[]

InitD

Functions#

bool

RunFrozen()

Variable descriptions#

bool Running πŸ”— Source

True if the script is currently running passively. Set to false to stop it.


int DataSize πŸ”— Source

The size of the script’s Data[] (see below). Writing this resizes the array, where any area above the previous maximum is cleared to 0.


bool[] ExitState πŸ”— Source

Arrays of exit and reload conditions. All states default to false.


bool[] ReloadState πŸ”— Source

Arrays of exit and reload conditions. All states default to false.


bool[] EventListen πŸ”— Source

Array of event listener conditions. When WaitEvent() is called, the script will wait until any event which has a value of β€˜true’ in this array occurs.


untyped[] Data πŸ”— Source

A misc data array, resizable by writing to DataSize (see above). All indexes are saved with the save file, including any resizing.


untyped[] InitD πŸ”— Source

The 8 InitD[] parameters for the generic script. Shared by passive and frozen run modes.


Function descriptions#

bool RunFrozen() πŸ”— Source

Attempt to run the generic script in frozen mode.