OK so here is what im trying to do. Make it so i can have every 30 seconds a variable for a price changes in between 2 numbers, 200 and 440
Cant go under or over that price. But it must be random. I just cant figure out for the life of me how I'm suppose to make it select a random number between those. I cant even get it to select a random number 0 to infinity.
Variable - Set Random Variable = (Random integer between 200 and 440)
Create a variable (local or global depending on what you need), then make an action set variable. Set your variable to random variable and then set value to -> function -> random interger. Enter your minimum and maximum and your away laughing.
Thanks for the fast reply i knew it was simple. LoL hopefully this is the last thing i have to ask but thank you for your help.
For anyone wanting to know more in depth how to do this.
Step 1: Set up Variable ->-> Step 2: Make new action "set variable" within trigger ->-> Step 3: Link to the variable you want randomized ->-> Step 4: Double click on the value(should be 0 right now) ->-> Step 5: Go to functions tab(click the circle by it) ->-> Step 6: Search and select Random Integer ->-> Step 6: Set the the 2 numbers you want it to randomly select in between
OK so here is what im trying to do. Make it so i can have every 30 seconds a variable for a price changes in between 2 numbers, 200 and 440
Cant go under or over that price. But it must be random. I just cant figure out for the life of me how I'm suppose to make it select a random number between those. I cant even get it to select a random number 0 to infinity.
OK so here is what im trying to do. Make it so i can have every 30 seconds a variable for a price changes in between 2 numbers, 200 and 440
Cant go under or over that price. But it must be random. I just cant figure out for the life of me how I'm suppose to make it select a random number between those. I cant even get it to select a random number 0 to infinity.
Here is a good example in math terms
200 < X > 440
X = variable.
X must be selected random.
Variable - Set Random Variable = (Random integer between 200 and 440)
Create a variable (local or global depending on what you need), then make an action set variable. Set your variable to random variable and then set value to -> function -> random interger. Enter your minimum and maximum and your away laughing.
@nevjmac: Go
Thanks for the fast reply i knew it was simple. LoL hopefully this is the last thing i have to ask but thank you for your help.
For anyone wanting to know more in depth how to do this.
Step 1: Set up Variable ->-> Step 2: Make new action "set variable" within trigger ->-> Step 3: Link to the variable you want randomized ->-> Step 4: Double click on the value(should be 0 right now) ->-> Step 5: Go to functions tab(click the circle by it) ->-> Step 6: Search and select Random Integer ->-> Step 6: Set the the 2 numbers you want it to randomly select in between
Thanks once again nevjmac for the help!
Cough.
200 < X is over 200
X > 440 is over 440
missed prealgebra did ye?
@illidans911: Go
LoL I have actually been studying for the accuplacer recently. Whooops! =D lol
@illidans911: Go
Nope, he just knows quantum mechanics :D.