Character animation

Blitz3D Forums/Blitz3D Beginners Area/Character animation

How do I choose which animation to use per thing
right now, here is the code for him to move.
;idle
ExtractAnimSeq char, 292, 325

;run
ExtractAnimSeq char, 16, 26

seq=1

While Not KeyDown( 1 )

;jump

If KeyHit( 57 )=True Then TranslateEntity char,0,9,0


;speed boost
If KeyDown( 16 )=True Then MoveEntity char,0,0,9


; Controls

If KeyDown( 203 )=True Then TurnEntity char,0,1,0
If KeyDown( 205 )=True Then TurnEntity char,0,-1,0

;move character forward and animate

If KeyDown(200)
  MoveEntity char,0,0,.1
  If AnimSeq( char )<>seq Animate char,1,.2,seq,1
  End If


I have extracted the animation for the dwarf to be idle, now he is just idle, when I push the button to walk.


Thank you for all you have done so far, I hopefully only need a little more of your time.