Reply lines with random number triggers
chimeric
Member Posts: 1,163
I have this in a D file - this is playing roulette:
IF ~RandomNumLT(38,2)~ THEN REPLY ~Put me down for my lucky number.~ GOTO GAMES3-2-1+
IF ~RandomNumGT(38,1)~ THEN REPLY ~Put me down for my lucky number.~ GOTO GAMES3-2-1-
The idea is that only one of these will be visible to the player, but does the engine actually make one roll for both? Or does it make a separate roll for each line? In that case there is a chance both lines will appear.
IF ~RandomNumLT(38,2)~ THEN REPLY ~Put me down for my lucky number.~ GOTO GAMES3-2-1+
IF ~RandomNumGT(38,1)~ THEN REPLY ~Put me down for my lucky number.~ GOTO GAMES3-2-1-
The idea is that only one of these will be visible to the player, but does the engine actually make one roll for both? Or does it make a separate roll for each line? In that case there is a chance both lines will appear.
0
Comments