hey all, I have a problem. I want to have 15 creeps spawn from the top of a place, move them down, but I want them to randomly not spawn 2 creeps so it will be like this:
you get the point right?
eather way, what i have so far is: I putted all the regions I made into variable arrays and started of with a loop, but then i thought I need to make something with random integers, the problem then is is that it can spawn more than 1 creep in 1 region, how do I make it so that it would spawn the way I want?
Code:
-x- -x- -x- -x- -|- -x- -x- -x- -x- -x- -x- -|- -x- -x- -x-
-x- -x- -|- -x- -x- -x- -x- -x- -x- -x- -x- -|- -x- -x- -x-
-x- -|- -x- -x- -x- -x- -x- -x- -x- -|- -x- -x- -x- -x- -x-
you get the point right?
eather way, what i have so far is: I putted all the regions I made into variable arrays and started of with a loop, but then i thought I need to make something with random integers, the problem then is is that it can spawn more than 1 creep in 1 region, how do I make it so that it would spawn the way I want?