How to limit how many actors i wanna spawn?
EpicoreGames
Member Posts: 188
So i want to spawn a few actors from the start of the game and then it will become more . But i am using a table to control their positions . And i am using a timer [every 0 second-spawn actor] . So how can i limit how many actors i wanna spawn?
P.S. i am using tshirtbooth's spawning without overlapping method in my game too.
Comments
Make an attribute in the spawner actor, let's call it 'X'
Rule: While X is < 20
--Timer Every 0 seconds
----Spawn Actor
----Change X to X+1