NPC spinning while moving

Hi all,

I have a char that has a spinning effect (turn 90° left on repeat). But I want im to keep spinning when moving to other tiles.
Everytime he does that, he'll stop spinning, walk normally and keep spinning.

Is there a way to have him spinning instead of walking?

Thanks!
You could probably do it by manually moving the sprite in the move command - so instead of using Move Right, you'd use a script line of
Code:
this.character(0).x += 10
or something, to move it 10 pixels to the right, then turn in down in its spin, then move it some more pixels to the right...you'd have to figure out the timing with any wait commands and the Turn Whatever commands and how many pixels to slide it at a time.

Or get a plugin that disables the walk motion when a switch is on or something.
Yes, you can make a paralell event(or the event itself running in paralell) that turn it 90 degree each time using script.
You may also need to make it direction fix so it won't change to its walking direction.

JavaScript:
$gameMap.event(this.eventId()).setDirectionFix(false);
$gameMap.event(this.eventId()).turnLeft90();
$gameMap.event(this.eventId()).setDirectionFix(true);

Don't forget to add a wait command, or it runs 60fps.
Got it to work with a plugin, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/npc-spinning-while-moving.171975/