You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opposite to global integers/booleans, which saves across saves.
Basically, it's like global integers/booleans, but it saves to that save, so if one starts a new game, that variable will be reset.
An example would be a mappack, where there are puzzles which the player must solve all of them to win. The end of each puzzle is a button that sets the global boolean to indicate such puzzle has been solved. This means it persists through quits and files, but also means the player could only have 1 go, since if they enter it in a post-finished state, the exit would open up, ruining the fun. A solution would be to have a reset button, but just resetting it all at the start of a file is better.
The text was updated successfully, but these errors were encountered:
Opposite to global integers/booleans, which saves across saves.
Basically, it's like global integers/booleans, but it saves to that save, so if one starts a new game, that variable will be reset.
An example would be a mappack, where there are puzzles which the player must solve all of them to win. The end of each puzzle is a button that sets the global boolean to indicate such puzzle has been solved. This means it persists through quits and files, but also means the player could only have 1 go, since if they enter it in a post-finished state, the exit would open up, ruining the fun. A solution would be to have a reset button, but just resetting it all at the start of a file is better.
The text was updated successfully, but these errors were encountered: