Hi,
i want to chose 1 out of 2 numbers (1 and 2) and make a code that goes something like this: if 1 then spawn if 2 then no spawn.
also i want to be able to reference this with other objects. i am making a spelunky type game and i have a 4 by 4 grid each with a 10 by 10 grid inside them(smaller grid is child). i want to be able to disable them and enable them so they make the level. I have disabled them all at start up and have already listed them so i can just plug in the names in the code. this code will go something like this: if 1 then enable (insert multiple child objects here) if is 2 (insert diferent child objects here)
Thanks in advance