Storing and loading the saved data when starting the game

Now that we have a container for our saved data, we need to ensure that the data is stored somewhere on the player's machine and that it is retrieved when the player returns to the game. We also want the saved data to be updated each time the level loads because we will increase the current round number each time the player wins a round. Like the rest of our gameplay settings, we will add this process to the FirstPersonCharacter Blueprint. Now, go to Content Browser, open the Blueprints folder, and open FirstPersonCharacter.

In addition to the SaveSystem Blueprint, which will store information about what gameplay data to save, we are going to need Save Game Object that will actually ...

Get Blueprints Visual Scripting for Unreal Engine - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.