Hail everyone!
Like in title. In my current story I have two characters that maked dice bet betwen each other. How I can make twine count their dice rolls and then choose the winner? Like this:
Player A [12,8,5,2,11,10] (two dices result, random numbers betwen 2-12)
Player B [11,11,12,10,9,7]
Player B win the bet - passage B appears instead of A because player A lost.
Also, how I can make different passages appear when dices results are betwen 12-30, 31-60, 61-70?
Thanks a lot for help!
Comments
In general, you want to combine the either, set, and if functions in this order:
1. Set a $variable to either of the dice numbers
2. If the $variable is a certain number, display different content