Ok, I have .b3d models of the same mesh, seperate animations. I load the idle mesh using loadanimmesh()
I then load the walk animation using loadanimseq()
I can use the following code...
but if I use an if function to check if the animation is moving and to play the anim sequence for walking if he is moving, the animation wont play. I check the animseq(), animating(), animtime() and animlength() and they all show the correct information onscreen, but it looks like the model is freezing on frame 1.
Heres the code for the walking...
Again... thanks in advance!
I then load the walk animation using loadanimseq()
I can use the following code...
If KeyDown(27) If AnimSeq(mesh_3ds)=0 Animate mesh_3ds,1,1,1 Else If AnimSeq(mesh_3ds)=1 Animate mesh_3ds,1,.5,0 EndIf
but if I use an if function to check if the animation is moving and to play the anim sequence for walking if he is moving, the animation wont play. I check the animseq(), animating(), animtime() and animlength() and they all show the correct information onscreen, but it looks like the model is freezing on frame 1.
Heres the code for the walking...
If MouseHit(1)=True SelEnt = CameraPick(cam,MouseX(),MouseY()) If SelEnt > 0 If EntityName(PickedEntity()) = "Ground" Move$ = "True" Animate mesh_3ds,1,1,1,trans EndIf EndIf EndIf
Again... thanks in advance!