Stop spawning array actors

You can check if the actor is valid before you you spawn the other actor 1000 units beyond it.

Is Valid will return true if the actor exists and is not pending kill.

Hello friends, in blueprint, I spawn an actor in 5 different places with for each loop and this actor allows another actor to spawn 1000 units beyond his position as long as there is no destroy in the game, but this time when I remove the actor that disappeared from the array when one of these actors disappears, this time is different It continues to spawn from somewhere. I want the spawn to stop when it’s destroyed. How can I do it

In the blueprint that spawns the second actor, put this:

320041-screenshot-1.jpg

So when you destroy those actors, they will also destroy the one they spawned…

this worked. thank you so much, you are great :slight_smile:

thank you so much my friend it was very useful