How do I make something permanent that will stay after replaying the game?


I’m planning on making a sort of side story which can be unlocked only after playing the game once. But once you finish the game, the coding restarts. Is this something I can do? and how?


There might be a way to have it unlockable via achievements. Someone more knowledgeable can tell if that’s possible though.

You could provide a password at the end of the game, or the answer to a secret question, that will unlock the side story.


As fairygodfather said, you could do this by using the check achievements command. Simply add an achievement for finishing the game and check for it upon starting a new one.

About Achievements

thank you! this helps a lot