Movement Route x and y to Player (MV)

Hello,
I am currently using the MKR Player Senor plugin for the Line of Sight system. If I set the movement route to "towards Player", it runs towards me but gets stuck on walls, for example.

My idea was to direct the movement route to x and y (map y and map x of player are already available as variables) of the player. Unfortunately, this function does not exist in the movement route. Is there a script command or another plugin that can do this?

The Line of Sight Plugin:
()
It looks like this plugin has its own pathfinding where it creates a list of coordinate nodes when the event spots the player and follows it. If the pathfinding it uses is getting caught on walls, you'll have to edit the code to make it use a better pathfinding script or redirect it to use the pathfinding function from a better plugin instead.

These pathfinding plugins I've found are pretty good and don't get caught on walls, but they are processor intensive and will lag your game if you have more than one event pathfinding at a time

If you use this one:
To fix the Dir8 issue, change line 174 of the script from !Maki.Params.Dir8 to !Maki.AM.Dir8.
Thank you for the plugins, but if I enter the script this.chasePlayer(20) in the MV/RS_Chaser plugin under Movement Route, the opponent still runs straight into the wall.

Picture 1 is the starting situation and picture 2 the problem described.

1.PNG


2.PNG
Thank you for the plugins, but if I enter the script this.chasePlayer(20) in the MV/RS_Chaser plugin under Movement Route, the opponent still runs straight into the wall.
It shouldn't unless you have something else interfering with it like a pixel movement plugin. I tried it on a new project and it's pretty good at not getting stuck. Could you show the event and its moveroute? Also put 12 instead of 20. The bigger the number you put there the bigger a range it will have to pathfind and the more it will lag your game.
Sorry for the delay, if I enter the script command this.chasePlayer(12) in the movement route of a parallel event it works. As soon as I enter the same in an event that triggers the Line of Sight plugin, it only runs straight ahead.

Is it probably the Line of Sight plugin, which is a pity because I haven't found a comparable one yet.
The ones I have found can either see through objects / walls or the indicator goes through an object / wall.

Here are the pictures of the Movement Route
1.PNG


2.PNG
Could you put this.chasePlayer(12) in the event's autonomous move route with the trigger set to action instead?
same problem, also with repeat movements
it only runs straight ahead when you stand in the indicator

1.PNG


2.PNG
I've experimented with several "moveroute to player" plugins and scripts, one of the most reliable ones is this:
1699635325297.png


Code:
this.moveStraight(this.findDirectionTo($gameVariables.value(X), $gameVariables.value(Y)))

If memory serves me right this script is a call to the maker pathfinding function and not any plugin which to me has been more reliable.

Hope it helps 👋
works as above for an event that does not have the plugin as a trigger but not for the event where the plugin is activated. The problem remains, it only runs straight ahead.


this.moveStraight(this.findDirectionTo($gameVariables.value(3), $gameVariables.value(2)))

the variables are correct as can be seen in the picture

1.PNG
works as above for an event that does not have the plugin as a trigger but not for the event where the plugin is activated. The problem remains, it only runs straight ahead
Because it is using the pathfinding from your first plugin (Mankind Games). I said in my very first post that you would have to edit that plugin to make it use a different plugin's pathfinding instead.

Original thread: https://forums.rpgmakerweb.com/threads/movement-route-x-and-y-to-player-mv.162708/