PlayObjectAnimation( objID, animName, starttime, endtime, loop, tweentime )
objID - The ID of the object to modify.
animName - The name of the animation to play, defined by the modelling program
starttime - The point in the animation at which the object should start playing, in seconds
endtime - The point in the animation at which the object should stop playing, minus 1 to continue to the end
loop - 1 to loop the animation forever, 0 to play once, any other positive integer to loop that many times
tweentime - The time in seconds to transition from the objects current state to the first frame of animation
you can start and end an animation at any point that way an animated model may have several animations