[gd_scene load_steps=6 format=2] [ext_resource path="res://jrpg/models/chars/Zombie_Male.glb" type="PackedScene" id=1] [ext_resource path="res://jrpg/scripts/entities/npc.gd" type="Script" id=2] [ext_resource path="res://jrpg/scripts/entities/utils/trigger_relay.gd" type="Script" id=3] [sub_resource type="CapsuleShape" id=1] radius = 0.5 [sub_resource type="CapsuleShape" id=2] radius = 0.543022 height = 0.89044 [node name="Enemy" type="KinematicBody"] script = ExtResource( 2 ) [node name="CollisionShape" type="CollisionShape" parent="."] transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 1, 0 ) shape = SubResource( 1 ) [node name="Zombie_Male" parent="." instance=ExtResource( 1 )] transform = Transform( 0.65, 0, 0, 0, 0.65, 0, 0, 0, 0.65, 0, 0, 0 ) [node name="Timer" type="Timer" parent="."] [node name="InteractableArea" type="Area" parent="."] script = ExtResource( 3 ) [node name="CollisionShape" type="CollisionShape" parent="InteractableArea"] transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 1, 0 ) shape = SubResource( 2 ) [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] [connection signal="on_interact" from="InteractableArea" to="." method="on_interact"]