setup_full_save_load_system
Sets up a complete round-persistence save/load system in Unreal Engine by creating a SaveGame Blueprint, character variables, and SaveRound/LoadRound macros.
Instructions
Set up the complete save/load system as described in Ch. 11.
Creates:
BP_SaveInfo SaveGame Blueprint with Round variable
Variables in character BP: CurrentRound, SaveInfoRef, SaveSlotName
SaveRound macro (check validity, create if new, set round, save to slot)
LoadRound macro (check if exists, load, cast, store reference)
This mirrors the complete round-persistence system from the book.
Args: character_blueprint: Player character Blueprint name save_blueprint_name: SaveGame Blueprint to create save_variables: Variables for the save game (default: [{Round: Integer}]) slot_name: Save file slot name string
KB: see knowledge_base/17_GAME_SYSTEMS_COOKBOOK.md#overview Example: setup_full_save_load_system()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_name | No | SaveGameFile | |
| save_variables | No | ||
| character_blueprint | No | BP_FirstPersonCharacter | |
| save_blueprint_name | No | BP_SaveInfo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |