the *create checkpoint_exclusions "" code is creating a special variable checkpoint_exclusions and assigning the value "string1 string2 string3 stringN" (which is an array of strings, yes which is just a string, itself). I’m not sure if I understand the question about what tools I’m using. This is a part of normal Choicescript, to the best of my understanding.
Advanced Choicescript - Choice of Games LLC
This is the docs page that discusses it. I’m using the VS Code extension built in Run Game function to test the functionality. I believe that CSIDE doesn’t currently support checkpoints, but I may be wrong about that (i haven’t gotten it to work using CSIDE).
ChoiceScript Language - Visual Studio Marketplace\
The docs specify that this variable checkpoint_exclusions is specifically checked when using the *restore_chekpoint command (variables whose names appear as strings in that array as substrings in that string are not reverted to their previous value when a checkpoint is restored).
Once you list the variables that shouldn’t get reset, you don’t have to do any array operations on the checkpoint_exclusions variable for this application (but I think you could for other purposes using *set checkpoint_exclusions in other parts of the game).
Also, note that I’m updating the original post because I forgot to mention something important (that you have to save all three checkpoints rewind, rewindaux, rewindrestore before using the subroutines).
Does that answer the question?
