Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Local integers/booleans #160

Open
Someone671 opened this issue Mar 23, 2020 · 0 comments
Open

[Suggestion] Local integers/booleans #160

Someone671 opened this issue Mar 23, 2020 · 0 comments
Labels
Enhancement New feature or request Suggestion A proposal for a new feature, behavior or approach

Comments

@Someone671
Copy link

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.

@HugoBDesigner HugoBDesigner added Enhancement New feature or request Suggestion A proposal for a new feature, behavior or approach labels Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Suggestion A proposal for a new feature, behavior or approach
Projects
None yet
Development

No branches or pull requests

2 participants