can i get somebody to give me a breakdown of what each of the numbers in the following sprites preference mean:
SInt="4 * 60 * ( rnd(1) + rnd(1) + rnd(1) ) / 3 + 180"
i'm starting to get how to make it do what i want, just need to know which numbers beget which reactions..
thanks for any help
another beginner question
Moderators: BTT, andy55, b.dwall, juxtiphi
I think SInt is the sprite interval or how long between sprites. SDur would be Sprite Duration or how long they last. The numbers that you show being assigned to SInt work out to be about 3 to 7 minutes, I believe. The 4 * 60 could be written as 240. It is multiplied by three random numbers less than one added together and divided by 3. This is giving you a random number less than or equal to one to multiple times the 240. That gives you 0 to 240 seconds (0-4 minutes). Then the 180 (3 minutes) is added on as your minimum time. The whole thing could be simplified as rnd(240)+180 but it might give a slightly different sequence of random times because of how the random numbers are used.
So in other words, change it to SInt=30 and a sprite will start every 30 seconds.
So in other words, change it to SInt=30 and a sprite will start every 30 seconds.
