↧
Answer by YoungDeveloper
Hi, so you have to run only one of these conditions. For second condition use else if (random >= 75){ } It will be launched only if first one was unsuccessful.
View ArticleAnswer by xortrox
This code is all untested. I would use a barricade handler with a list of barricade objects for easier control. (I don't know much about the game you're making so this may be entirely unecessary for...
View ArticleAnswer by YoungDeveloper
Hi, so you have to run only one of these conditions. For second condition use else if (random >= 75){ } It will be launched only if first one was unsuccessful.
View ArticleAnswer by xortrox
This code is all untested. I would use a barricade handler with a list of barricade objects for easier control. (I don't know much about the game you're making so this may be entirely unecessary for...
View Article