In my game about emotions im having you go to sadness’s house but I want it to be a chance that she may not answer the door, so when you knock I want it to run a code to where it picks a random number between 1-10 and if it picks 9, she opens but any other number she doesn’t how would I do that?
in blocks.
Do you know them?
yes i know how to do blocks but what would I use to run the block, a trigger?
possibly. Random integer 1-10, if random integer is 9, broadcast open door.
okay so how do i make it get a random integer though, i forgot that part
Never mind, i just have to change the numbers to 1-5
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.