Below is an example of a simple slot machine command. The odds of green are 50% on the first reel, 33% on the second reel and 25% on the third reel. How do I edit this command to randomize the order of the reels so that sometimes the 50% reel is in the second spot or third spot etc.
This is great, thank you tiwosslave! Iβve been trying to complicate it by setting variable odds on each reel individually for rare jackpots like 1 in 10,000,000, but havenβt been able to accomplish it within 500 characters. The closest I was able to get was the code below which gives 1 in 10,000.
What Iβm looking for is something like: the odds of a winning symbol on reel 1 is 1/10, reel 2 is 1/100 and reel 3 is 1/10000. If the random number generator selects the winning number for a reel, it takes from this array: [ββ], and if it doesnβt hit the winning number for that reel, it will randomly select from this array: [ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ, ββ]
oooo, fancy ^^ but i donβt see any way to integrate that with the current selection processβ¦ would either have to rework the whole thing or have a secondary process that would override the first one