create_savegame_blueprint
Create a SaveGame Blueprint to persist player progress across sessions by defining variables like round, high score, and settings.
Instructions
Create a SaveGame Blueprint class to store persistent game data.
From Ch. 11 of the book: create BP_SaveInfo as a child of SaveGame. SaveGame Blueprints hold variables like current Round, high score, player settings, etc. that persist between play sessions.
Args: name: Blueprint name (e.g., "BP_SaveInfo") variables: List of variable definitions, each a dict with: {"name": str, "type": str, "default_value": any} Types: "Integer", "Float", "Boolean", "String", "Vector" folder_path: Content browser folder path
Example variables: [{"name": "Round", "type": "Integer", "default_value": 1}, {"name": "HighScore", "type": "Integer", "default_value": 0}]
KB: see knowledge_base/17_GAME_SYSTEMS_COOKBOOK.md#overview Example: create_savegame_blueprint(name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| variables | No | ||
| folder_path | No | /Game/Blueprints |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |