chase sequence Enemy dash? (solved)

I want to make a chase sequence,where the enemy is kinda slow but still a bit faster than the player (like,at 4 speed)
but every few seconds it dashes at 5 speed to catch up to the player.
I remember a lot of old horror rpg games did this but I haven't found how to do it myself.
When I try to I only get tutorials on how to make standard chase sequences or pathfinding scripts/scripts for vxa/mv.
I don't mind if It's a script or an event tho!
You make them chase with a move route? Then make the mouve route like this:

- movement speed 4
- step toward player
- step toward player
- step toward player
- movement speed 5
- step toward player
You make them chase with a move route? Then make the mouve route like this:

- movement speed 4
- step toward player
- step toward player
- step toward player
- movement speed 5
- step toward player
Oh,so It's done with a route.
I thought It needed a script or a complicated event xq ty
Oh,so It's done with a route.
I thought It needed a script or a complicated event xq ty
Well, this is one way. 🙂 But it is the easiest way I can think of. It is limited, though... Because the character always steps into your direction, it will easily get stuck behind any object. Players could take advantage of that. To avoid this chase to get stuck, I like to make the move route a little longer, and put a single random step in there, like this:

- movement speed 4
- step toward player
- step toward player
- step toward player
- step toward player
- movement speed 5
- step toward player
- movement speed 4
- step toward player
- step toward player
- step toward player
- step toward player
- step toward player
- movement speed 5
- step toward player
- move random

Make sure "Skip if can not move" is on, or else it will still get stuck

Now it should move in any other direction when stuck. It's still not perfect, but better than the character getting stuck in a chase.

Original thread: https://forums.rpgmakerweb.com/threads/chase-sequence-enemy-dash-solved.160621/