set_behavior_class
Assign a UGameplayBehavior subclass to a UGameplayBehaviorConfig asset by setting its BehaviorClass via reflection, even when the field is protected in UE 5.7.
Instructions
Set the BehaviorClass of a UGameplayBehaviorConfig (via reflection; the field is protected in 5.7).
Returns: { config_path: string, behavior_class: string, set: bool, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_path | Yes | Content path of the UGameplayBehaviorConfig. | |
| behavior_class | Yes | UGameplayBehavior subclass name (with or without "U" prefix). |