How to spawn random actor?

Make array out of those MemberVars and:

image

Or, instead of a struct with 4 members, create an array variable of actor class type and populate it:


Also, a Delay inside a Loop will not work. Consider using a looping Timer instead. As in, when triggered, this would spawn a random actor every 5 seconds and stop after 10 has been spawned:

1 Like