Long story short, I want the game to pick a number between 1 and the value of another variable that changes randomly depending on what happens in the game.
For example, let's say the events of the game cause Variable A to equal 6. I then want the game to choose a random number between 1 and the value of Variable A. Because Variable A's value is always random, I want to be able to set the max range for a random number to be equal to whatever Variable A is.
Is this possible?
For example, let's say the events of the game cause Variable A to equal 6. I then want the game to choose a random number between 1 and the value of Variable A. Because Variable A's value is always random, I want to be able to set the max range for a random number to be equal to whatever Variable A is.
Is this possible?