V 3.6 stable
I want to summon an enemy which is enemy2 but only the first enemy is being summoned. Please take a look
This is the enemy generator script
V 3.6 stable
I want to summon an enemy which is enemy2 but only the first enemy is being summoned. Please take a look
Your second function for enemy2 does not have a green box beside it which indicates that a signal is not connected to it.
Check your signal connections that you think are calling this function.
what?
I didnt understand
Look at your posted picture. You see line 9. It has a signal connection green icon beside it.
Where is it on the second function?
I checked. It is there
So I am suggesting that your signals are not connecting which is why your spawner is not spawning your enemy. When you emit SummonEnemy2, did you really need a second signal. Would SummonEnemy, your first function, do the same thing as you are sending the node ref and the new position.
If you do need it, check that this signal is being emitted and received. For instance add print(“signal emitted”) and print(“signal recieved”) where you expect to pick it up.
If your signals are working the error will be somewhere in your other scripts.
Hope that helps in some way. Good luck.
The signal is not being emmited, yet i checked everything. Should i consider remaking the enemy2???
Ok I forgot to set the timer on autostart
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.