How-To: Save and Restore Quests

Goal: persist quest progress with whatever save system you use.

Prerequisites
Quick Start.

1. Capture and restore on the server

Get Save Data on the progression component returns a Crimson Quest Progression Save Data; store it in your SaveGame. On load, Apply Save Data.

Verify
Save mid-quest, reload: the quest resumes on the same stage.

2. Save at checkpoints

A stage marked bIsCheckpoint requests a save through OnSaveRequested (BlueprintNativeEvent). Override it in a subclass of the component to write the save.

Verify
Entering a checkpoint stage calls your override.

See also

  • API Reference