Energy Sphere Enemy Spawn

Hey guys, I want to make an enemy spawn from the spheres(in yellow) that are guarded by the enemy in my game. Any ideas?
HighPower Game

Try something like this:

2 Likes

This kind of worked. Actually, they’re spawning before I even attack. I want them to spawn for 5 to 10 seconds if the sphere is not destroyed. Once the sphere is destroyed, they stop spawning. Is that possible?

1 Like

The numbers on a timer are 1/10th of a second. Like 10 is 1 sec.

1 Like

Cool. However, they spawn at the next one without the player coming closer. How should I adjust the sphere to spawn them only once the player comes closer? I’m guessing I will have to use proximity.

1 Like

A proximity would work

1 Like

How can I implement it to spawn enemies after 5 or 10 seconds the player gets near it?

1 Like

1 Like

This didn’t do anything, I might need to put a number and filter behavior

Everything is supposed to work, can you tell me what the problem is?

1 Like

Oh actually, it worked; it’s just that I didn’t connect the always trigger to the switch’s input. Thanks!

1 Like

I just realized I may have not made that picture a bit more clear though

It’s alright, I’m fairly new to this platform. I have been here for about a month. How long does it take to know many of the things to do here?

It probably depends. I started to pick up on the simple codings first and after getting used to them for a while, I started to try some other ones.

1 Like