JFW_Slot_Machine_2 (a script for a slot machine with an animation and sound)
Cost (cost to play)
Winnings (winnings if you win)
Percent (percent chance to win)
Player_Type (what player type to trigger on, 0 = Nod, 1 = GDI, 2 = any)
Animation (what animation to play when the slot machine is poked)
Sound (what sound to play when the slot machine is poked)
When this object is poked, it generates a random number between 0 and 99
if that number is < the Prercent value, you recieve "winnings" credits.
Otherwise you loose "cost" credits.
[Updated on: Mon, 09 October 2006 20:43]
Report message to a moderator