Game hiccups checking move route

Hello there, I am trying to make a event that makes the player move slower on certain terrain tags. I have it set up and it works, problem is because the event is essentially setting the movement speed of the character every few frames, regardless of if it needs changing or not, causing the game to hiccup every x frames, x=frames i put in wait command of parallel process. It's somewhat noticeable, and wondering if there is a way to not make this happen. I have common events to get the coordinates and assign them the terrain tag. It's just that the parallel process is the culprit.
It is the only parallel on the map (kind of a test map), and there aren't tons of events or anything.
One possible solution would be to simply put event triggers on the edge of the bush, and I may have
to resort to that, just seeing if there is another way.

Thanks much,
Bwoltz
show us a screenshot of the event and we might find a ways to improve it.
it usually takes a bit of experimenting to find the best number of waits for any given parallel process.
and there are a few other option to improve terrain checking depending on how you do it.
Hello there, I am trying to make a event that makes the player move slower on certain terrain tags. I have it set up and it works, problem is because the event is essentially setting the movement speed of the character every few frames, regardless of if it needs changing or not, causing the game to hiccup every x frames, x=frames i put in wait command of parallel process. It's somewhat noticeable, and wondering if there is a way to not make this happen. I have common events to get the coordinates and assign them the terrain tag. It's just that the parallel process is the culprit.
It is the only parallel on the map (kind of a test map), and there aren't tons of events or anything.
One possible solution would be to simply put event triggers on the edge of the bush, and I may have
to resort to that, just seeing if there is another way.

Thanks much,
Bwoltz
You can set it up only once and then reset, like i here:
1644342654492.png

1644342699128.png
It will still hickup for that block but its better then doing it every block. ^^

Tbh im not sure you can get rid of it vial eventing alone, i think a script call or plugin would be neccesarry but im not 100% sure...

EDIT:
Found those script calls in steam:
1644344517453.png


Here for copy+paste:

# go slower, but not slower than 3
$gamePlayer._moveSpeed = Math.max(3, $gamePlayer._moveSpeed - 1)

# go faster, but not faster than 5
$gamePlayer._moveSpeed = Math.min(5, $gamePlayer._moveSpeed + 1)

Use them instead of chaning speed per movement route, they work fine, no more hickups, just tried.
Great thanks very much for your help, I think I got it now!

Original thread: https://forums.rpgmakerweb.com/threads/game-hiccups-checking-move-route.144762/