SET PARTICLE SPEED This command will set the number of seconds that are to pass each frame within the particles object.
Syntax
    SET PARTICLE SPEED Particle Number, Seconds Per Frame
Parameters
    Particle Number
Integer The particle object number
    Seconds Per Frame
Float The number of seconds that are to pass each frame within the particles object. This controls whether the particles move very quickly, or very slowly
Returns
This command does not return a value.
Description
This controls whether the particles move very quickly, or very slowly. The default seconds per frame value is 0.005.
Example Code
    load image "spec.bmp",3

    make particles 3, 3, 10, 10.0

    position particles 3, -3, 0, 10

    position camera 0,1,0

    point camera 0,1,400

    while mouseclick()=0

    if upkey()=1 then move camera 0.1

    if downkey()=1 then move camera -0.1

    if leftkey()=1 then turn camera left 1

    if rightkey()=1 then turn camera right 1

    color particles 3, rnd(255), rnd(255), rnd(255)

    position particles 3, (mousex()-320)/50.0, 0, 10

    set particle speed 3, (2+rnd(1))/100.0

    sync

    endwhile

    delete particles 3

    end
See also
PARTICLES Commands Menu Index