Variables stored in game mode or game instance?

Hi,

I’ve got a few booleans that keep track of some of the events that occur during a game.
If you perform task A, the boolean is set to true.
The game at the moment is only a single map and is single player.
I had a read of the unreal docs on game mode/game state https://docs.unrealengine.com/en-US/…ode/index.html.
Is either game mode or game instance an ok place to store the variables?

Thx

The game instance is if you want to keep the variable between scene changes. Since the Gamemode is destroyed when loading a new map.
The game mode is for variables that control the victory conditions of that scene.
If it is a player action you can save them in the player itself.