
-----------------------------------
Steel
Thu Jan 18, 2007 11:09 pm

randomizing pictures
-----------------------------------
i have a slot machine game, and the numbers 1, 2, 3 pop up. How would i make random pictures pop up instead of these numbers

ex 1 = picture of lucky seven
    2 = cherry
    3 = gold bar

thx

-----------------------------------
rdrake
Fri Jan 19, 2007 8:10 am

RE:randomizing pictures
-----------------------------------
Uh... create an array of images, then randomly select a numer, using that minus 1 to choose the correct image in the array.

-----------------------------------
bugzpodder
Fri Jan 19, 2007 9:41 am

Re: randomizing pictures
-----------------------------------
if a cherry has the same probability as a lucky 7, then all casinos would go broke
