• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Can you help me make a formula?

Status
Not open for further replies.
Level 17
Joined
Aug 20, 2007
Messages
1,121
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
I can take any idea, and any additions...

Please, +rep...
 
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^^
 
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.
 
Searching the internet if found this formula:

$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.
 
Status
Not open for further replies.
Back
Top