Skip to content

SetFlagSwitch

Super Hackio edited this page Nov 7, 2023 · 2 revisions

Note: This only applies to GLE-V3 and up

SetFlagSwitch is a new object in Galaxy Level Engine

Field Type Status Description
ObjArg0 INT32 NEW BCSV Entry ID
ObjArg1 BOOLEAN NEW Set Flag Value
ObjArg2 INT16 NEW Set Event Value
SW_A SWITCH NEW When SW_A is activated, the applicable values are applied to the Save Data.

Using this requires a BCSV inside ZoneInfo called SetFlagSwitch.bcsv.
You can download a pre-made BCSV here.

BCSV Field Type Description
FlagName STRING Defines the FlagName that you want to change the value of (ObjArg1)
Leave Empty to not change anything.
EventValueName STRING Defines the name of the GameEventValueDataTable value to change the value of (ObjArg2)
Leave Empty to not change anything.

With the way that the BCSV is setup, you can change a FlagName and EventValue at the same time, or individually. (Or none, but then what's the point of having it?)

Clone this wiki locally