diff --git a/ai/trees/look_around_or_focus_player.tres b/ai/trees/look_around_or_focus_player.tres index 4ba97d5..01f883b 100644 --- a/ai/trees/look_around_or_focus_player.tres +++ b/ai/trees/look_around_or_focus_player.tres @@ -1,4 +1,4 @@ -[gd_resource type="BehaviorTree" load_steps=19 format=3 uid="uid://ci1dpjqvsq0ax"] +[gd_resource type="BehaviorTree" load_steps=18 format=3 uid="uid://ci1dpjqvsq0ax"] [ext_resource type="Script" path="res://ai/tasks/find_target_by_name.gd" id="1_crjnn"] [ext_resource type="Script" path="res://ai/tasks/get_target_location.gd" id="2_a4moq"] @@ -58,10 +58,6 @@ children = [SubResource("BTSequence_ytwco"), SubResource("BTSubtree_dnwew")] [sub_resource type="BTSequence" id="BTSequence_yk8po"] children = [SubResource("BTAction_rgjhs"), SubResource("BTAction_2cqtn"), SubResource("BTAction_rp83o"), SubResource("BTSelector_cu7cu")] -[sub_resource type="BTRepeat" id="BTRepeat_713a6"] -forever = true -children = [SubResource("BTSequence_yk8po")] - [resource] blackboard_plan = SubResource("BlackboardPlan_rxiwf") -root_task = SubResource("BTRepeat_713a6") +root_task = SubResource("BTSequence_yk8po") diff --git a/ai/trees/pug.tres b/ai/trees/pug.tres index 98e47df..addddb6 100644 --- a/ai/trees/pug.tres +++ b/ai/trees/pug.tres @@ -1,4 +1,4 @@ -[gd_resource type="BehaviorTree" load_steps=6 format=3 uid="uid://blccr23qjixws"] +[gd_resource type="BehaviorTree" load_steps=5 format=3 uid="uid://blccr23qjixws"] [ext_resource type="BehaviorTree" uid="uid://caxmpcyhpt6em" path="res://ai/trees/wander.tres" id="1_rsg0c"] @@ -10,10 +10,6 @@ subtree = ExtResource("1_rsg0c") blackboard_plan = SubResource("BlackboardPlan_x4gxn") -[sub_resource type="BTRepeat" id="BTRepeat_i5p3p"] -forever = true -children = [SubResource("BTSubtree_krik0")] - [resource] blackboard_plan = SubResource("BlackboardPlan_yg732") -root_task = SubResource("BTRepeat_i5p3p") +root_task = SubResource("BTSubtree_krik0")