add_state_enter_condition
Attach an enter-condition node to a state's EnterConditions in a UStateTree, resolving the condition struct by name via reflection.
Instructions
Attach an enter-condition node (by struct name, resolved via reflection) to a state's EnterConditions on a UStateTree.
Returns: { tree_path, state_name, condition_struct, enter_condition_count, added, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree_path | Yes | Asset path to the UStateTree | |
| state_name | Yes | Name of the state to add the enter condition to | |
| condition_struct | Yes | Condition struct name or /Script path; must derive from StateTreeConditionBase (e.g. "StateTreeRandomCondition") |