Skip to main content

(873) _SET_SYS_FLAG

Effect

Sets a System Flag to true.

A list of all System Flags can be found here.

info

System Flags are remembered when closing the game.

Syntax

_SET_SYS_FLAG(flag)
ArgumentDescriptionTypesRequired
flagThe System flag to setSysFlagRequired

Example

ev_dummy:
_SET_SYS_FLAG($SYS_FLAG_AUTOSAVE_STOP)
; my code
_RESET_SYS_FLAG($SYS_FLAG_AUTOSAVE_STOP)

The above script will disable then enable the auto save feature.