I made this blueprint essentially to spawn enemies (actor blueprints) at certain locations. These locations are set using actors on the main level, then added to an Array. The Array is called to randomly get an actor from the Array’s range, and spawn an enemy at that actor’s location. This all works fine.
What I need help with is this:
I want to call an actor from the Array at random, but then make it so that particular actor won’t be called again until all of the other actors have been called randomly. Once all actors have been called, I’d like to “rinse and repeat”, once again randomly calling actors from the Array and excluding them from further calls until the rest have all been called.
Also, if it is of any interest to you or perhaps anyone who comes across this post, here is a link to the game I am making, and that your help was put towards
It’s unfortunate but UE4 currently doesn’t support some other basic structures that would make this easier. 's method is the best unless you are comfortable with C++.