Mecanim Animation events fires multiple times

Im trying to use Mecanim animation events to play footstep sounds when the feet touches the ground. I have a blend tree with walk, jog and run animations, and i have added events on the right keyframes when the feet touches ground. The event method only fires the sound.

Now this works perfect for the walk animation, but when the character jogs or especially runs, the event method is fired multiple times.

@Heffalus A blend tree flattens Animation Events. Notice in the picture below, while I’m running down and to the right, four animations are circled in blue. That’s four footstep sounds each time my foot touches the ground.


I recorded a detailed video tutorial on how to use Curves, instead of Animation Events. You can also download my full script for free.