Character animation

Blitz3D Forums/Blitz3D Beginners Area/Character animation

'not enough parameters'

Here is the code involving my animmesh
The error is on the animseq line

char=LoadAnimMesh("dwarf2.b3d")
chartex=LoadTexture("dwarf2.jpg")
PositionEntity char,-50,6,120
ScaleEntity char,.085,.085,.085
EntityType char,Player


ExtractAnimSeq char, 16, 26
seq=1

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