How event BeginPlay work?

Hey there,

Event begin play executes code once after pressing play and resets after you stop the game. So this is a good place to initialize variables like health and such. So Yes if you execute Save game on eventbeginplay, it will save the game every time you press play.

I’m not exactly sure what kind of system you are talking about, but you could probably create a system where it checks if there is a savegame file already inside the savegameobject and base the Save/load for some objects on that or check for certain variables inside it.

Here is a youtube link that explains savegameobjects pretty well, that might be a good place to start.

Hope this was useful!

  • SamuelB