set_attribute_meta_on_set_class
Author a DataTable of attribute metadata to define starting, min, and max values for a UAttributeSet class, then validate it against the class CDO without writing live actor values.
Instructions
Author the DataTable that gives a UAttributeSet class its starting/min/max values, then validate it by calling InitFromMetaDataTable on that class's CDO. WHAT IT DOES NOT DO: it never writes the CDO -- only the DataTable is authored, and the running game is still expected to call CDO->InitFromMetaDataTable(DataTable) itself at character init (typically from an ASC's InitStats path). Use set_attribute_base_value to change a LIVE actor's attribute instead.
Returns: { attribute_set_class, data_table_path, row_count, rows_imported, init_from_meta_succeeded, saved, problems }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata_rows | Yes | Array of {attribute_name, base_value, min_value, max_value, can_stack, derived_info} | |
| data_table_path | No | Target asset path (default "/Game/UEAgent/AttributeMeta/<ClassName>_Meta") | |
| attribute_set_class_path | Yes | Full UAttributeSet class path (e.g. "/Script/GameplayAbilities.AbilitySystemTestAttributeSet" or "/Game/MyAS") |