highlights enemy and returns to player start location
This commit is contained in:
@@ -1,11 +1,24 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://by7qyyhyurlw"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://by7qyyhyurlw"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/dead_cam.gd" id="1_qxtd8"]
|
||||
|
||||
[node name="DeadCam" type="Node3D"]
|
||||
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_ybt8m"]
|
||||
dof_blur_far_enabled = true
|
||||
dof_blur_far_distance = 7.0
|
||||
dof_blur_far_transition = 10.0
|
||||
dof_blur_near_enabled = true
|
||||
|
||||
[node name="DeadCam" type="Node3D" groups=["spawned"]]
|
||||
script = ExtResource("1_qxtd8")
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="."]
|
||||
attributes = SubResource("CameraAttributesPractical_ybt8m")
|
||||
|
||||
[node name="LookRay" type="RayCast3D" parent="."]
|
||||
target_position = Vector3(0, 0, -1)
|
||||
|
||||
[node name="Timer" type="Timer" parent="."]
|
||||
wait_time = 0.5
|
||||
one_shot = true
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
|
||||
|
||||
Reference in New Issue
Block a user