Enemy does not spawn after a while

Hello there,
So I’m having some more issues while following Beginner Tank Shooter tutorial . I would appreciate if someone could help me out with these issues-

  1. I can’t spawn enemies unless I place the enemy object in the scene. Or is that how spawning just works?
  2. Enemies stop spawning If I destroy them too quickly.
    See this video.

Thanks in advance.

Hi,
Your two problems have the same cause : you used the function “timer of an object”.

  1. When there is no object, the timer doesn’t exist. That is why you need to place an object yourself in the scene.

  2. When you destroy all objects, that timer doesn’t exist anymore.

Solution: use a standard timer instead.

1 Like

Thanks Gruk! :grin:
It works perfectly now.