Question about spawn actors
Hello i have an actor hero and 4 different enemies, i want to spawn a different random enemy every second, so i want to spawn 1000 enemies in 1000 seconds , how can i do that?, thank you
Hello i have an actor hero and 4 different enemies, i want to spawn a different random enemy every second, so i want to spawn 1000 enemies in 1000 seconds , how can i do that?, thank you
Comments
You'll kick yourself when you see how simple it is. Attached is a demo project.
This is the easiest way to do it, but it's also possible to achieve the same result by having 1 enemy actor that is spawned every second, and that randomly picks which type of enemy to be when it first spawns.
Hello in my game the actors are spawning at the same position every time , an example
hero actor: after 1 second spawn characters 1, after 2 seconds spawn characters 2,
but the characters are allways in the same position.
Then just remove the random positions from the X and Y of each spawn actor behaviour, and put in the positions you want them to spawn at.
Thank you very much