Skip to content

Is there a way to protect a LIST from being reset when using the 'restart' button? #777

Discussion options

You must be logged in to vote

The way I'm always doing it, it's treating the part I want to keep as an exception to the reset.

I particularly like the LIST keyword for that (and I'll call it Knowledge or some other relevant name)
Each time the user is passing through something I want to keep between reset, I'll change the Knowledge list value.

When doing the "reset" loop action, I'll first copy the current value of the Knowledge list value. Reinit ink state to the beginning, and erasing the Knowledge list var to the value I stocked just before. And keep going.

So instead of just using the * and + to keep track if that's the first time, I will also do {Knowledge?DragonsBreath} to know if the player already went there a…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@LilCelestial
Comment options

@LilCelestial
Comment options

@Selsynn
Comment options

Answer selected by LilCelestial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants