Randomize actor spawning

ralphbugsralphbugs Member Posts: 39
edited July 2015 in Working with GS (Mac)

Hello guys,

I want to have the enemies actor to randomize spawning on Y axis but only on specific lane. (please refer to the attached image)

So far I've managed to make the enemies spawned using random function but the way they are spawned sometimes overlapped on each other and wasn't on the correct lane.

I've tried making a random function on y axis 'random(100,320)/4' but failed. Can someone guide me on this? I'm suck at math though. Lol

Image
https://drive.google.com/file/d/0By5DNbqYRGiOa0t1c3ZqUllZQjg/view?usp=sharing

Project file
https://drive.google.com/file/d/0By5DNbqYRGiOUTl4OGM0YWNNZ0U/view?usp=sharing

Comments

Sign In or Register to comment.