create_bt_wander_task
Creates a Behavior Tree task that finds a random reachable wander point within a radius using the navigation system, setting the target to a blackboard key for enemy wandering.
Instructions
Create a Behavior Tree Task for random wandering.
Ch.10: BTTask_FindWanderPoint uses the Navigation system to find a random reachable location within a radius for enemy wandering behavior.
Uses GetRandomReachablePointInRadius
Sets the resulting Vector to a Blackboard key (e.g., WanderTarget)
Returns Success if a point is found, Failure otherwise
Args: name: Task Blueprint name wander_radius: Radius to search for random wander points path: Content browser path
KB: see knowledge_base/04_AI_SYSTEMS.md#overview Example: create_bt_wander_task()
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_bt_wander_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | BTTask_FindWanderPoint | |
| path | No | /Game/AI | |
| wander_radius | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |