So I today I have been trying to make an FPS in Unity using this tutorial: [You must be registered and logged in to see this link.] (It's the 3rd part in the Unity FPS Tutorial)

I am not able to get the animations working properly. I created a script called PlayWalking and an animation called WalkingAnmationFPS2, and using the script given in the video I can't even get the animation to play once when you initially press the button.

If anyone could help then that would be great.

It would also be good if anyone could provide a script for stopping the animation, as I have tried to do this before and the animation played, but wouldn't stop, so I know what to expect when I do get it working.