You probably got the way of using array wrong.
There are 2 ways to make arrays.
1.
template Snow1=blah...
template Snow2=blah...
template Snow3=blah...
and get them as "Snow[x]".
2.
template Snow0=blah...
template Snow1=blah...
template Snow2=blah...
and get them as "Snow0[x]".
I take the second method as it can use "Snow0[0]" as the first method doesn't take the "0" as the first array.
(If I remember correctly)
Also I've always been wondering when using randoms that if you create a random number up to 3, for example as "value = rand() * 3".
I think this can go from 0 up to 3. And when inserted into the array number it gets rounded down. But if it gets plain 3, that will get the 4th array element.
But the chance of getting 3 is so small (like they may never even happen), but by any chance if it got 3, the script gets bugged up, as you may have expected to make only 3 templates and such. So, I just put a little fail safe that may be on a real low chance.
Or I may just be caring too much
1 in a million chance.
(rand() can be like 0.249237953 and it has to be 1.000000000, oh well.)
------------------
http://millennium.massassi.net/ - Millennium
[This message has been edited by Hideki (edited November 21, 2001).]