Script Question
#2

random(3); will return a number between 0 and 2 (0,1,2)
random(n); will return a number between 0 and n-1 (0,1,......(n-1))

In your case, you want random( 8 ); so you get 0 to 7 for your switch.
Reply


Messages In This Thread
Script Question - by Blackazur - 06.02.2013, 20:05
Re: Script Question - by Grimrandomer - 06.02.2013, 20:32
AW: Script Question - by Blackazur - 06.02.2013, 21:09
Re: AW: Script Question - by Jeffry - 06.02.2013, 21:11

Forum Jump:


Users browsing this thread: 1 Guest(s)