#Help understanding Instanced Projectiles and Signals

1 messages · Page 1 of 1 (latest)

ocean wolf
#

I can't seem to connect the laser in the game scene and have it work... I thought perhaps if the laser node was loaded in the game scene and connected to the enemy scene it would work but it doesn't

ocean wolf
#

I just noticed I'm getting this error when I attempt to shoot the enemy

#

E 0:00:02:0002 emit_signalp: Error calling from signal 'area_entered' to callable: 'CharacterBody2D(enemy.gd)::_on_hitbox_area_entered': Method not found.
<C++ Source> core/object/object.cpp:1080 @ emit_signalp()

ocean wolf
#

I removed the error by adding the func with a null but I'm confused as to why it's looking for area entered when the signal is body entered 🤔

#

Stepping away from this for now to clear my head as I've been at this for 3 hours now 😅 hopefully someone can help me at some point 🙏