Butters261285
Programmer
ok two questions for anyone clever enough to answer as im stumped ^_^
Q1.
Say i have values 1-10 and i have variables box1 - box10
how do i set a script that on enter frame it sets box1 to a random one of those values, then sets box2 to one of the remaining 9 values that are left and so on til box10 is given the last one.?
---------------------------------------------------------
Q2.
In the main game the values of 1-10 will be more like cash values like $10 $100 $25000 ect.... so how would i make a code so that after 3 boxes have been opened...it added together all the remaining values and divided by how many boxes there are left to get an average...then pick a random value within a range of this value
-----------------------------------------------------------
ill add some coding to this when i get a minute...
thanks
Peter Butler
Q1.
Say i have values 1-10 and i have variables box1 - box10
how do i set a script that on enter frame it sets box1 to a random one of those values, then sets box2 to one of the remaining 9 values that are left and so on til box10 is given the last one.?
---------------------------------------------------------
Q2.
In the main game the values of 1-10 will be more like cash values like $10 $100 $25000 ect.... so how would i make a code so that after 3 boxes have been opened...it added together all the remaining values and divided by how many boxes there are left to get an average...then pick a random value within a range of this value
-----------------------------------------------------------
ill add some coding to this when i get a minute...
thanks
Peter Butler