[Solved] A quick (hopefully simple) question
jbishop122
Member Posts: 43
Is there a way to make something have a 5% chance of appearing? I want a certain jump scare to happen 5% of the time after you lose. Tell me if I need to clarify this
Comments
You could do a random integer and make it choose from 1-100 then if it's <6 do your scare.
Make a game attribute call it scare and make it an integer, then when game is over change the game.scare attribute to random 1,100 then if scare is less than 6 do your special effect.
Darren.
@deepblueapps Thanks!