i convert to .b3d but i guess its the same for an animated .x file
mymesh = LoadAnimMesh("mymesh.b3d")
;----------------------------------------------
; grab the anim frames
idle=ExtractAnimSeq(mymesh,1,20) ; first frame/last frame of anim cycle
walk=ExtractAnimSeq(mymesh,21,30)
run=ExtractAnimSeq(mymesh,31,45)
..and so on
Animate mymesh,1,.6,walk,7 ; for example
may help :)
mymesh = LoadAnimMesh("mymesh.b3d")
;----------------------------------------------
; grab the anim frames
idle=ExtractAnimSeq(mymesh,1,20) ; first frame/last frame of anim cycle
walk=ExtractAnimSeq(mymesh,21,30)
run=ExtractAnimSeq(mymesh,31,45)
..and so on
Animate mymesh,1,.6,walk,7 ; for example
may help :)