I have trouble simulating windd blowing the player away

Hi

I'm making a wind temple in my game, and what would be great is that I could be able to make a "wind" that :

- Slows down the player when walking towards the wind
- Makes them walking slower the closer they get to the origin
- Speeds them up when walking in the same direction
- Makes them walk diagonally when walking perpendicularly to it
- Pushes the player away when standing still

For now I have an idea for the speed up / slow down with an event that chack where the player is facing

But I don't know how to prevent the player and the event from interrupting each other when changing directions :/
Did you try a parallax event that constantly checks the player's direction? And if you uncheck the "wait for completion" in the move command, there shouldn't be any interruption between the event and the player.
I tried, but the parallel process is acting weird : For handling the case when no key is pressed and the character is standing still, I want the wind to push the character. But the character just stands still and I totally lose control over them : I cannot move them.

After a bit of debugging I noticed that I cant move the player if I use "Direction fix"

Even with a fresh project, if you create a parallel process, and inside you put :

-Direction Fix ON
-Move Right

And you disable the wait option, then the character won't move at all. This is annoying because I need that direction fix to make that "pushed away" effect more realistic 🙁

EDIT : Just found out the problem ! The "Direction fix" instruction seems to interrupt the "Move Right". If I fix the direction in a different event page, then I can loop a movement with the fixed direction

Original thread: https://forums.rpgmakerweb.com/threads/i-have-trouble-simulating-windd-blowing-the-player-away.107082/