Warcraft DiscussionDiscuss topics related to Blizzard's Warcraft franchise, including Warcraft I, II and III. Ask questions about anything not covered in other forums. Want to discuss topics related to World of Warcraft? Go to the World of Warcraft Forum.
I need a formula for my game show which is called... Deal or No Deal...
But, I can't think of one formula for how the banker will decide to deal...
Can you give me one?
Notes:
Set transferamount[1] = 0 Set transferamount[2] = 1 Set transferamount[3] = 5 Set transferamount[4] = 10 Set transferamount[5] = 25 Set transferamount[6] = 50 Set transferamount[7] = 75 Set transferamount[8] = 100 Set transferamount[9] = 200 Set transferamount[10] = 300 Set transferamount[11] = 400 Set transferamount[12] = 500 Set transferamount[13] = 750 Set transferamount[14] = 1000 Set transferamount[15] = 5000 Set transferamount[16] = 10000 Set transferamount[17] = 25000 Set transferamount[18] = 50000 Set transferamount[19] = 75000 Set transferamount[20] = 100000 Set transferamount[21] = 200000 Set transferamount[22] = 300000 Set transferamount[23] = 400000 Set transferamount[24] = 500000 Set transferamount[25] = 750000 Set transferamount[26] = 1000000
you could think about a random number, checking the cases which are already opened, if they are the low ones the the banker gives a higher offer lets say random number between highest of the lowest opened cases and lowest of the closed cases, hope u understand^^
[00-25-37] Razorbrain is sitting on the toilet doing private stuff Lirch
[00-25-39] Lirch is sitting on the toilet doing private stuff Razorbrain
[00-25-45] Lirch *censored* Razorbrain in the mouth.
[00-25-50] DrunkenPanda200: WTF?
[00-25-51] Razorbrain: :(
Make a unit for each value, place them somewhere you can't see them and add them all to a unit group. Then when the player picks a bag you just grab a random unit from the unit group and there is your money amount.
Either that or you make one unit with the Zone Indicator model and place 26 of them in the map and add them to a unit group. Set their Custom Values to the different amounts. Then when the player picks a bag you just grab a random unit from the unit group and there is your money amount in the units custom value.
Custom value is set via triggers (Unit - Set Cusom Value).
The name, the values and the randomness you want reminds me of a swedish tv series that went on air a while ago. The players picked a random bag and they won a random amount of money. Never saw the point in watching it. It was called Deal or no Deal to.
__________________
My Campaign: Deathwalker - Rise of the Legend (2 chapters done) (Voice Actors Required)
Latest Coke Death: Beheaded
(Click the pic)
raid1000: Thrikodius fails so hard he actualy wins!
$12,275.30 + (.748 * expected value) + (-2714.74 * number of cases left) + ( -.040 * maximum value left ) + (.0000006986 * expected value squared ) + ( 32.623 * number of cases left squared )
So i thing you should go with what Razorbrain said.