activate animation dont work

Blitz3D Forums/Blitz3D Programming/activate animation dont work

panton(Posted 2007) [#1]
sorry but this is verry important :P

:::::::::::::::::::::::code :::::::::::::::::::::

If KeyDown(17) ;move forward
MoveEntity p\entity,0,0,0.5
Animate player_model,1,0.1,walk,transpose:state=s_walk
Else If KeyDown(31) ;move backward
MoveEntity p\entity,0,0,-0.3
Animate player_model,1,0.1,walk,transpose:state=s_walk
Else ;stop animating
Animateplayer_model,1,0.1,standstill,transpose
End If


It dont work? if I play this I only see the first frame
of the .b3d animation


cash(Posted 2007) [#2]
TRY SOMETHING LIKE THIS

IF KEYDOWN(17)=1 THEN
IF ANIMSEQ(P\ENTITY)<>1 THEN
ANIMATE P\ENTITY,1,.1,WALK
MOVEENTITY P\ENTITY,0,0,.3
ENDIF
ENDIF


panton(Posted 2007) [#3]
ok i will try, thx


panton(Posted 2007) [#4]
nope dont work, i found other way


b32(Posted 2007) [#5]
What way did you found then ?