bovido/scenes/enemy_behavior_tree.tscn

43 lines
1.9 KiB
Plaintext
Raw Normal View History

2023-06-12 17:58:06 +02:00
[gd_scene load_steps=10 format=3 uid="uid://b51tdt5kunai"]
[ext_resource type="Script" path="res://addons/beehave/nodes/beehave_tree.gd" id="1_b2pc4"]
[ext_resource type="Script" path="res://addons/beehave/nodes/composites/sequence.gd" id="2_80fm4"]
2023-06-12 17:58:06 +02:00
[ext_resource type="Script" path="res://addons/beehave/nodes/composites/selector.gd" id="2_xkd41"]
[ext_resource type="Script" path="res://scripts/is_idle_condition.gd" id="3_5jur1"]
[ext_resource type="Script" path="res://scripts/move_to_target_action.gd" id="4_1on4v"]
2023-06-12 17:58:06 +02:00
[ext_resource type="Script" path="res://scripts/can_wait_condition.gd" id="4_x5ium"]
[ext_resource type="Script" path="res://addons/beehave/nodes/decorators/time_limiter.gd" id="5_012bh"]
[ext_resource type="Script" path="res://scripts/wait_action.gd" id="5_xel2n"]
[ext_resource type="Script" path="res://scripts/get_random_top_cell_action.gd" id="7_uo3i6"]
[node name="EnemyBehaviorTree" type="Node"]
script = ExtResource("1_b2pc4")
2023-06-12 17:58:06 +02:00
[node name="MainSelector" type="Node" parent="."]
script = ExtResource("2_xkd41")
[node name="WaitSequence" type="Node" parent="MainSelector"]
script = ExtResource("2_80fm4")
[node name="CanWait" type="Node" parent="MainSelector/WaitSequence"]
script = ExtResource("4_x5ium")
[node name="TimeLimiterDecorator" type="Node" parent="MainSelector/WaitSequence"]
script = ExtResource("5_012bh")
wait_time = 2.0
[node name="Wait" type="Node" parent="MainSelector/WaitSequence/TimeLimiterDecorator"]
script = ExtResource("5_xel2n")
[node name="ReturnBallSequence" type="Node" parent="MainSelector"]
script = ExtResource("2_80fm4")
2023-06-12 17:58:06 +02:00
[node name="IsIdle" type="Node" parent="MainSelector/ReturnBallSequence"]
script = ExtResource("3_5jur1")
2023-06-12 17:58:06 +02:00
[node name="GetRandomTopCell" type="Node" parent="MainSelector/ReturnBallSequence"]
script = ExtResource("7_uo3i6")
2023-06-12 17:58:06 +02:00
[node name="MoveToTarget" type="Node" parent="MainSelector/ReturnBallSequence"]
script = ExtResource("4_1on4v")