Save Subsystem

Doc about the Save Subsystem

This is a Game instance Subsystem that is used to save the quests and objectives. You can access it in the same way as the Quest Manager Subsystem from almost any blueprint.

The system is using a UQuestSaveGame, you can edit the class to use in the Project Settings

under the Quest System Save Settings category. So you can create a BP class that inherits the UQuestSaveGame class and add any variable you want inside.

The System has a Serializer and Loader that allow to serialize an entire object and load it as well. For the datas of the object to be serialized, they must have the UPROPERTY(SaveGame) . There’s an equivalent for the Blueprints, it is a checkbox in the details of a variable.

API

Functions

Functions
Description

GetSaveGameRef

Return the UQuestSaveGame, you can then update any of its variable

SaveGame

Save the actual game to the save slot

SaveObjectToPackage

Serialize an object to FObjectData

CreateObjectFromPackage

Create an Object from FObjectData

LoadGame

Load the quests and update the QuestManagerSubsystem from the savegame

Event Dispatchers

Event Dispatcher
Description

OnSaveGameLoaded

Called when the save game slot has been loaded

Last updated