list_global_tasks
Inspect a StateTree asset's global tasks without modifying it, returning each task's index, class, and instance ID for use in add or remove operations.
Instructions
List the global tasks of a StateTree asset (tasks that run for the whole tree, not one state) without changing it. Returns count and global_tasks [{index, class, instance_id}]; index is what add_state_tree_global_task_property and remove_state_tree_global_task take.
Returns: { tree_path, count, global_tasks: [{ index, class, instance_id }] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree_path | Yes | Asset path of the StateTree, e.g. "/Game/AI/ST_Guard". |