Quote:
if that input = "1" then difficulty = "Easy"
elsif input = "2" then difficulty = Hard"
elsif input = "3" then difficulty = "Impossible"
end if
Then where you run your game have an if statement like this
if difficulty = "Easy" then depending on your game something like delay1 = "20"
elsif difficulty = "Hard" then delay1 = "10"
elsif difficulty = "Impossible" then delay1 = 0
end if
is the same as
code: |
if input = "1" then
delay1 = 20
elsif input = "2" then
delay1 = 10
elsif input = "3" then
delay1 = 0
end if
%%OR
delay1 := 30 - strint(input)*10 |