How to spawn an actor at a random exact location.

Hi, In my game I have 12 different locations that I want my 11 different actors to spawn to. I want them to spawn at a random one of these. I also have a rule that if say actor 1 is colliding with location 1 it will change an attribute "location one free" to false.
So what I need to do is to spawn my 11 different actors at one of the 12 locations randomly, but they can only spawn there if one of the other 10 actors has not already spawned there.

Does that make sense?

Any help would be AWESOME!!

Best Answer

Answers

Sign In or Register to comment.