The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.34 / 5.00 31,296 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 10,082 Viewshow would i use 'or' if i wanted one of two outcomes to an if statement?
in this example the 2 outcomes are functions:
if (condition == true){
outcomeOne() || outcomeTwo()
}
if (condition == true){
ran=random(2)+1;
if(ran==1){
outcomeOne();
}else{
outcomeTwo();
}
} "Whoever said 'winners never quit' obviously never considered addicts." - Hoeloe