Here you go:http://willhostforfood.com/?Action=down ... leid=57458
I changed the animation names just because I didn't want to have to type all that out every time I changed something, but you can change them back so they still use the "& global()" stuff, it works just fine.
It's a little more complex than Euphro's example (uses a private variable), but it's also a little smoother, I think, as you can interrupt walking with ducking, and the ducking animation plays all the way through even if you let go the key. Sorry, Euphro, I didn't look at yours until I finished mine
. It's a pretty similar method, though (Set animation frame, Play current, etc.).