add_create_save_game_object_node
Inserts a CreateSaveGameObject node into a Blueprint to create a fresh SaveGame instance when no saved file exists, storing it in a specified output variable for subsequent SaveGameToSlot calls.
Instructions
Add a CreateSaveGameObject node to instantiate a new SaveGame object.
From Ch. 11: used when no save file exists yet, to create a fresh SaveGame instance before calling SaveGameToSlot.
Args: blueprint_name: Blueprint to add the node to save_game_class: SaveGame Blueprint class name output_variable: Variable name to store the new instance node_position: [X, Y] graph position
KB: see knowledge_base/17_GAME_SYSTEMS_COOKBOOK.md#overview Example: add_create_save_game_object_node(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_position | No | ||
| blueprint_name | Yes | ||
| output_variable | No | SaveInfoRef | |
| save_game_class | No | BP_SaveInfo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |