genericdata#
Represents a generic script. Load with Game->LoadGenericData().
Variables#
bool |
|
int |
|
bool[] |
|
bool[] |
|
bool[] |
|
untyped[] |
|
untyped[] |
Functions#
bool |
Enumerations#
enum GenericScriptStateIndex: π Source
Used with genericdata::ExitState
and genericdata::ReloadState
.
GenericScriptStateIndex GENSCR_ST_RELOAD = 0
When reloading from save select screen
GenericScriptStateIndex GENSCR_ST_CONTINUE = 1
When F6->Continue
GenericScriptStateIndex GENSCR_ST_CHANGE_SCREEN = 2
When screen changes
GenericScriptStateIndex GENSCR_ST_CHANGE_DMAP = 3
When dmap changes
GenericScriptStateIndex GENSCR_ST_CHANGE_LEVEL = 4
When level changes
GenericScriptStateIndex GENSCR_NUMST = 5
Variable descriptions#
True if the script is currently running passively. Set to false to stop it.
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
.
index
GenericScriptStateIndex (GENSCR_ST_)
Arrays of exit and reload conditions. All states default to false
.
bool[] ReloadState π Source
index
GenericScriptStateIndex (GENSCR_ST_)
Arrays of exit and reload conditions. All states default to false
.
bool[] EventListen π Source
index
GenericScriptEvent (GENSCR_EVENT_)
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.
A misc data array, resizable by writing to DataSize
(see above). All
indexes are saved with the save file, including any resizing.
The 8 InitD[] parameters for the generic script. Shared by passive and frozen run modes.
Function descriptions#
Attempt to run the generic script in frozen mode.