I am finishing up the spawning script for my enemies at the moment and have run into a problem with my shooting enemies.
Originally they emitted a shoot signal which I had connected to the scene of the map, this way the bullets they fired would be handled by the map node instead of the enemy itself.
It worked fine when I was testing the individual enemy, but now that I am having the enemies instanced in through the spawning script, I am not sure how I would connect my shoot signal to the map's bullet handling function (onTank_shoot).
TLDR: How do I connect a signal from an instanced child node to a function in the parent node.
Link to code for Map scene
Map Scene Here