SET OBJECT SPEED This command will set the speed of the animation in the specified 3D object.
Syntax
    SET OBJECT SPEED Object Number, Speed
Parameters
    Object Number
Integer The object number
    Speed
Integer The default value is 100, as a percentage of the standard rate of play. A value of 50 means the frames is playing at half the normal speed where 200 will play the frames twice as fast.
Returns
This command does not return a value.
Description
A value of 1 will perform the animation at its slowest rate. The parameters should be specified using integer values.
Example Code
    sync on : sync rate 0 : hide mouse:cls 0

    ObjectNumber=1

    load object "models\model.x",ObjectNumber

    append object "models\extraanim.x", ObjectNumber, total object frames(ObjectNumber)+1

    set object ObjectNumber,1,0,1,2,1,1,1

    set object speed ObjectNumber,5

    play object ObjectNumber,0,total object frames(ObjectNumber)

    while mouseclick()=0

    sync

    endwhile

    while mouseclick()=1:endwhile

    stop object ObjectNumber

    if object exist(ObjectNumber)=1 then delete object ObjectNumber

    end
See also
BASIC3D Commands Menu Index