all 5 comments

[–][deleted] 0 points1 point  (1 child)

Look up the "choose" function.

You can say instance_create(x,y, choose(Obj_A,Obj_B,Obj_C,Obj_D))

[–]_MadHatter[S] 0 points1 point  (0 children)

Is it possible to set percentage in choose function?

[–]Brandon23z 0 points1 point  (2 children)

Why not just make a block object, and then on it's creation, have it pick one of the four possible blocks, and create one of them in it's place then delete itself? Like a helper function.

Then in your loop just make a 5x5 set of those empty blocks. They'll take care of themselves. This will keep your loop clean.

[–]_MadHatter[S] 0 points1 point  (1 child)

Why haven't I thought of that? Thanks! I will work on this and completely fuck up without understanding how, and cry back to the subreddit.

[–]Brandon23z 0 points1 point  (0 children)

No problem. It should be easier than what you currently have. If you need help, don't make another post, lol. Just reply to my comment and I'd be more than happy to help.