having problems thinking of the logic to have animations playing, say w to walk, becauswe of course if you keep w pressed in it will restart at frame 0:
the thing is I have seperate fbx files,one for walk,the other jump,and so on,as I was unable to join fbx files, this works fine, here is the code
//W Key Forwards
if GetRawKeyState( 87 )
Move3DPhysicsCharacterController( objID, 1, -WalkVelocity )
//SetObjectAnimationFrame(myplayer,GetObjectAnimationName(myplayer,1),0,0)
deleteobject(myplayer)
myplayer=CloneObject(mywalkplayer)
SetObjectImage(myplayer,62,0)
SetObjectNormalMap(myplayer,63)
PlayObjectAnimation( myplayer,GetObjectAnimationName( myplayer,1),0,42,0,0)
SetObjectAnimationSpeed( myplayer,60 )
endif
as you see I have to delete myplayer before I clobe it with the correct object+ animations, but how do /I say to just play the animation all the way through! as everytime w is pressed it start at frame 0
Hail to the king, baby!