Skip to main content

Mission & Objective progression savings

Ensure players' mission and objective progress is accurately saved and restored, enhancing narrative continuity and player engagement.

Refer SV_SaveGame and under ComprehensiveSaveData variable's MissionState used to save the meta-data related to saving the missions and objectives in the game level.

MissionState

MissionState field is define as a S_MissionSave struct type. (Content> SaveGameSystem > Data > Structs > Saves > Mission) simply record the indexes of mission and inherent objective.

S_MissionSave

The underline missions and objectives are defined in the data table called DT_Missions. (Content> SaveGameSystem > Data > DataTables > DT_Missions) Here, the Row Name define the indexes of the missions and Objectives array defines the objectives of a specific mission, where the relevant indexes are used to identify the objectives.

DT_Missions

All the objectives are defined using Data Assets and each objective is inherited from DA_Objective parent data asset and extend the features at the child instances. (Content> SaveGameSystem > Data > DataAssets > DA_Objective)

DA_Objective