Hello-
First off-- I’m a beginner flasher-- I downloaded a tutorial on making a slot machine. The actionscript if pretty straight forward-- it’s set to random, which is cool- but I need to be able to make sure there are a certain number of winners per “pulls” (of the slot lever)… For example-- 3 winners for every 30 pulls or 3 winners an hour.
Any help would be greatly appreciated.
here is the script:
LeftChip = random(3);
tellTarget ("/LeftReel") {
gotoAndStop(Number(/:LeftChip)+1);
}
CenterChip = random(3);
tellTarget ("/CenterReel") {
gotoAndStop(Number(/:CenterChip)+1);
}
RightChip = random(3);
tellTarget ("/RightReel") {
gotoAndStop(Number(/:RightChip)+1);
}