Cannot invoke signal from another script

Unable to invoke the signal from another script as in the title

Obviously, this method worked properly when applied to the player’s script

I don’t know what’s going on, but I’m getting an error message this time

Could you look at my code and let me know the problem?

I just want the enemy to shoot the laser…

Please help me!!!


Are you missing

@onready var enemy = $enemy

in the game.gd script?

1 Like

I’m such a fool
And you’re a genius!!
Thank you very much!!
Thank you for your kind and wise solution!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.