add_statetree_global_task
Add a global task to a StateTree asset in Unreal Engine by providing the task class and optional properties.
Instructions
Add a global task to the StateTree.
Args: asset_path: Content path to the StateTree asset task_class: Task struct name properties: JSON object for task node properties instance_properties: JSON object for task instance data properties
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_path | Yes | ||
| properties | No | ||
| task_class | Yes | ||
| instance_properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |