I need to remove the enemy from my scene, but upon doing so, the signals no longer work since they were referenced from the enemy.
I am attempting to reference the signal from instantiated enemies, but it attempts to reference the signal before they are created, which crashes the game.
Image 1: My wave script that references the signal from my enemy thats placed in the scene.
Image 2: My spawners script that instantiates slimes and attaches the signal to them, which works just fine
Image 3: If I remove the signal reference from the default enemy placed my in scene, things work, but the counting/wave completion announcement bugs out; after 10 enemies killed the wave ends and announces you completed the wave, after removing them it resets counting sometimes
Sorry, I'm very new here and to godot so I'm trying my best to explain what issue I'm having! Any help is appreciated, open to dm's as well.