[gd_resource type="BehaviorTree" load_steps=8 format=3 uid="uid://2v14hwp2gtg"] [ext_resource type="Script" path="res://ai/tasks/look_at_location.gd" id="1_1lumv"] [ext_resource type="Script" path="res://ai/tasks/find_nearby_random_location.gd" id="2_jrbpg"] [sub_resource type="BlackboardPlan" id="BlackboardPlan_hh1fi"] [sub_resource type="BTAction" id="BTAction_ba1hn"] script = ExtResource("2_jrbpg") radius = 1.0 output_var = &"target_location" navigatable_target = false stay_in_radius = true [sub_resource type="BTAction" id="BTAction_d7u7l"] script = ExtResource("1_1lumv") target_location_var = &"target_location" [sub_resource type="BTRandomWait" id="BTRandomWait_d2kpo"] [sub_resource type="BTSequence" id="BTSequence_ouv1e"] children = [SubResource("BTAction_ba1hn"), SubResource("BTAction_d7u7l"), SubResource("BTRandomWait_d2kpo")] [resource] blackboard_plan = SubResource("BlackboardPlan_hh1fi") root_task = SubResource("BTSequence_ouv1e")