rudimentary search function. not working right yet
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=90 format=4 uid="uid://djr7vnr1hcx82"]
|
||||
[gd_scene load_steps=91 format=4 uid="uid://djr7vnr1hcx82"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cdofgtwevbray" path="res://scripts/spider.gd" id="1_7e7fe"]
|
||||
[ext_resource type="PackedScene" uid="uid://h5ojldugfyyu" path="res://assets/bullet_enemy.tscn" id="2_aew5r"]
|
||||
@@ -18,6 +18,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://c7bdujukdjajv" path="res://assets/Models/SubstancePainterTest/spider-LOW_spider1.gunbarrel_Normal.png" id="10_wpql0"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0w0lon4smlhm" path="res://assets/Models/SubstancePainterTest/spider-LOW_spider1.gunbarrel_Roughness.png" id="11_6mvds"]
|
||||
[ext_resource type="Script" uid="uid://dcnmjisrxf5iv" path="res://scripts/EnemyReload.gd" id="11_ekglj"]
|
||||
[ext_resource type="Script" uid="uid://dvpf10vdnkfd" path="res://scripts/EnemySearch.gd" id="12_aasxo"]
|
||||
[ext_resource type="Material" uid="uid://cc0el8wu0au85" path="res://assets/materials/OutlineMat.tres" id="13_ee4im"]
|
||||
[ext_resource type="Texture2D" uid="uid://dn3b6uw8xr63m" path="res://assets/Textures/Smoke/smoketest_v1_0043.png" id="14_alcfd"]
|
||||
[ext_resource type="Material" uid="uid://844q0haim4uh" path="res://assets/spider2_body.tres" id="14_gicen"]
|
||||
@@ -878,6 +879,10 @@ script = ExtResource("11_ekglj")
|
||||
reload_sound = NodePath("../../AUIDO/Reload")
|
||||
enemy = NodePath("../..")
|
||||
|
||||
[node name="Search" type="Node" parent="StateMachine" node_paths=PackedStringArray("enemy")]
|
||||
script = ExtResource("12_aasxo")
|
||||
enemy = NodePath("../..")
|
||||
|
||||
[node name="VisibilityArea" type="Area3D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 4
|
||||
|
||||
Reference in New Issue
Block a user