Basically I have a platformer set up so when you hold down ctrl, you run. I have a progressive build up in speed, so I am animating the run animation to start off slower, and build up speed. How I am doing that is:
-set animation to "run"
-set wait 0.3
-Set animation speed 10
-set wait 0.2
-Set animation speed 15
set animation speed 7
set animation "walk"
It works fine expect the animation speed setting does not turn off until the left or right key it let off as well. (so basically the "walk" animation plays but at speed 15 until you stop all movement)
I did a few different test, and know it has to do with the "wait" functions, as when I remove them, this does not happen.
Anyone have an idea on how to maybe this this, or accomplish this effect without the wait function? Thanks!