create_data_table
Creates a DataTable asset bound to an existing row struct so designers can edit items, loot, quests, or dialogue without Blueprints.
Instructions
Create a DataTable asset bound to a row struct -- the standard container for game data (items, recipes, loot, quests, dialogue) that designers edit without touching Blueprints. The row struct must already exist (create_struct) and cannot be changed afterwards without losing data, so settle its columns first. Idempotent: re-running with the same row_struct returns the existing table with already_existed instead of erroring. Rows go in with add_data_table_row or import_data_table_csv; create_composite_data_table is the variant that merges several parent tables.
Returns: { table_name, package_path, row_struct, table_path, success, saved, already_existed, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row_struct | Yes | Name of the UScriptStruct that defines the row structure. | |
| table_name | Yes | Name of the new DataTable. | |
| package_path | No | Target content package path where the asset is created (check the body for the default) |