How do you track story progress?

When you need to check the progress of events in the story and make sure a sequence of events has happened, how do you do it? Think of the main questline of a game... I need to be sure that 

  1. King has met with player and sent him to castle
  2. Player has been to castle and rescued princess
  3. Player has returned to King and handed over Princess
  4. Before he can become Prince
I wasn't sure what the "best" way to do this would be? And I'm sure there may not be a "best" way but I was wondering how other people do this.

The way I see it...

Switch

+ Could easily tell if progress had been made

- Lots of switches might cause lag?

- Once the switch has been flagged and checked by the event its pretty useless. Just sits there... on or off.

Variables

+ Only one variable could be for the whole game leaving lots of switches and variables to work with for other parts of the game

- The numbers would be cryptic - you would have to keep track of where the story was and what variable value 10 corresponds to in the story

- How to handle sidequests

-How to handle subevents?

Other?

Would appreciate your experiences with this as it is certainly detrimental to the game and would like to choose a path and "stick" with it for the rest of the game. I'm leaning towards the variable idea, with 2 variables, and then having the second variable reset to 0 after every progress so I can use that for subevents.
All of the above. It seems to me that best practice would depend on how linear your story is. I use flags (switches) for a lot of niggling little things. Main story progress as you describe it can be tracked by a single variable, but you may find yourself needing to make decisions based on things like "What if Player rescued the princess but didn't recover the Magic Sword yet?" in which case switches might help you keep track of those things better.

Not sure I'm getting why you'd need a variable that resets to zero in the context of story/quest progress. Either a quest has progressed or it hasn't.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-track-story-progress.21934/