bt_add_selector_wait
Add a root Selector with a single Wait task to an existing behavior tree asset in Unreal Engine. Use this shortcut to create a basic idle behavior tree for testing or placeholder purposes.
Instructions
Quick-build: add a root Selector with a single Wait task.
This is a shortcut for the most basic "idle" behavior tree structure: Root → Selector → Wait(wait_time)
Use build_behavior_tree for full tree construction. This is a convenience tool for testing or placeholder BTs.
Args: behavior_tree_name: Name of the existing BT asset wait_time: Wait duration in seconds (default 1.0)
Returns: Dict with 'success', 'behavior_tree'
KB: see knowledge_base/04_AI_SYSTEMS.md#overview Example: bt_add_selector_wait(behavior_tree_name="ExampleName")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"behavior_tree_name": "<behavior_tree_name>"
},
"name": "bt_add_selector_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_time | No | ||
| behavior_tree_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |