Global List Variables¶
Global List Variables are variables identified by their numberic index value and can be accessed from anywhere.
Creating a Global List Variable¶
To create a Global List Variable, right click on the Project Panel and select Create → Game Creator → Variables → List Variables. A new asset will appear in the project panel, which can be used to define the collection of variables.
Conflicting ID
Note that two Global Variables can't have the same unique ID. Otherwise they'll override each other's values. To generate a new unique ID, expand the ID field and click the "Regenerate" button.
Save & Load
Vales can be saved between play sessions to later be restored when loading a game. Disabling the save option will make all variables keep the initial value as their starting value, even after loading a previously saved game.