remove_state_tree_global_task
Removes a tree-scoped global task by index from a UStateTree asset in Unreal Engine, safely handling out-of-range indexes.
Instructions
Remove a tree-scoped global task (by index). Idempotent at the index-out-of-range boundary.
Returns: { tree_path, global_task_index, removed, remaining, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree_path | Yes | Asset path to the UStateTree. | |
| global_task_index | Yes | 0-based index into the tree's GlobalTasks array. |