yes your right, the code is actually older then 2.7, but i made a module of it under 2.72 and import it to 3.xx.
the demo is with old code, and works as it should.
I got the biggest problems not with the animate command but with the
player.WalkStraight which doesn't act the same as MoveCharacterDirect with the same parameters.
With player.WalkStraight i didnt get the same behavior, the char walks to long when realeasing the button,
and if i decrease the minimum walk length, he stucks every few pixels no matter if you are pressing the key or not and you have to release and press the key again, i want it the same way as it is in the demo above,
while you are pressing the button the char walks and when you release the button the char stops immediatly,
what isnt the case with the "new" commands.
But i'll work on an code upgrade on weekend (we will see.

),
and hopefully i can sort this problem out and enhance the whole module with AGS3.xx and more flexibility.