Game Maker's Garage Forum
Game Creation => SilverCreator => Topic started by: Chamez on November 21, 2011, 08:58:06 PM
-
LET roll = RANDOM(3)
IF player = 1 THEN LET player1 = player1+roll
IF player = 2 THEN LET player2 = player2+roll
IF player = 3 THEN LET player3 = player3+roll
IF player = 4 THEN LET player4 = player4+roll
END IF
This didn't work and I'm pretty pissed.
Every time I try to use this button, the program crashed.
Seriously? It's completely logical to me, but obviously something needs to be fixed.
-
What's the END IF for?
-
That's odd, you shouldn't need END IF but doesn't normally tell you this when you try to run a program?
-
It's weird that it would let you compile with the extraneous END IF in there.
-
lol, just take the END IF out and itll work. its true, if you have an unneccissary END IF it WILL crash, happens to me all the time