Change sprite graphic automatically depending on movement

I'm using inter alia the scripts Diagonal Movement, Character Control and Multi Frames by Victor Sant and they are working great with my High Fantasy Sprites.

But when I want to add a "Set move route" event to make a cutscene, I have to change the graphics manually every time the sprites walk or run. If there are many and extensive cutscenes, that's a lot of work and also it can be very confusing.

I would like to know if it's possible to change the sprite graphic automatically depending on the movement speed:

  •  $Sprite[f8] <-- should be automatically used with normal movement speed (1-4)
  •  $Sprite[f8][dsh] <-- should be automatically used with fast movement speed (5-6)

Is it possible to get an adequate script? This would be very helpful.

Thanks.

Edit:

Cleaned up the post a bit.
Are they the actual names of your spritesheets?


Does this apply to ALL events as well, or just to the player?
I removed this free movement script and the vertical/horizontal/diagonal issue is fixed now at least. That's good.

But It would be great if the graphic changes automatically depending on the movement speed. Is that possible?

Are they the actual names of your spritesheets?
Yes, they are. Here now an existing example (downloaded that sprite from www.pioneervalleygames.com):

  •  $Free_11[f8] <-- should be used with normal movement speed (1-4)
  •  $Free_11[f8][diag] <-- should be used with normal movement speed (1-4)
  •  $Free_11[f8][dsh] <-- should be used with fast movement speed (5-6)
  •  $Free_11[f8][diag][dsh] <-- should be used with fast movement speed (5-6)


Does this apply to ALL events as well, or just to the player?
Well, the vertical/horizontal/diagonal issue is fixed.

The little movement speed problem/issue is still not fixed and affects all events and the player when I want to add a "Set move route" event.

If I control the hero everything working fine.

Edit:

removed problem No.2
Maybe one issue per topic might be a bit easier to handle.
Maybe one issue per topic might be a bit easier to handle.
Done.

Also I cleaned up my first post a bit.

Original thread: https://forums.rpgmakerweb.com/threads/change-sprite-graphic-automatically-depending-on-movement.24195/