ArcBasicDocs

AnimateMD2

Animates an MD2 model.

AnimateMD2 ( md2[,mode][,speed#][,first_frame][,last_frame][,transition#] )

Parameters

md2
the model's handle.
mode (optional)
0 to stop; 1 to play over and over; 2 to play forward then backward; 3 to play once.
speed# (optional)
how fast: 1 is normal, and negative plays backwards.
first_frame (optional)
the first pose to play, counting from 0.
last_frame (optional)
the last pose to play; numbers past the end mean the last pose. Defaults to 9999.
transition# (optional)
how long to take blending into the new animation, in frames; 0 for no blending.

Description

Plays, or stops, an MD2 model's animation, which moves on with each UpdateWorld.

See also