Randomize actor spawning
ralphbugs
Member Posts: 39
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
There is a video on this over at GSHELPER
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Oh thanks for that link. I'll have a look.
Thank you GS guru. GSHelper really solve my problem.
Here is the link for the tutorial for those who want to randomly spawn their actor based on specific locations.
gshelper.com/shop/free-templates-and-tutorials/how-to-make-random-spawn-points-with-tables-gamesalad-video-tutorial/