Detect first launch of the game

Savegame I’d say. Just put an int in there, and every time the user runs some crucial part of the system ( peristent level / main menu etc ), it gets incremented.

How would that work?

Hey there,
is there a way to detect the number of times the game has been launched ?
IE detect that the game has been launched once, then closed, then launched again, to validate a steam achievement.
Thanks a lot !

and do it in the game instance.

Thanks for your answers, that works perfectly.
I’ve got a custom event in the gameinstance that increments an int after creating (if needed) the samegame, and then saves the slot again.
This event is called from a level blueprint at beginplay.

Nice, game instance is the first thing that gets created when the game loads and only initializes once so it should work from any level essentially.