How to make Enemy good for hunting player?

Hello!
I set NPC "move towards player".
But if I stand behind somthing NPC can't come to me.

How to make it smarter?
Thank you. 😢
181125111923.jpg
By writing an algorithm that checks for things like if the path between the player and the event is blocked etc..

basically, by making a smarter algorithm
Try some plugins like yanfly move route, qpathfind etc.
I use "Shaz's SMARTPATH" Plugin

-----------
181125030314.jpg


SmartPath eventId1 eventId2 # Makes event 1 find path to event 2

event = number for specific event
event = 0 for "this" event
event = -1 for player
--------
Enemy did not move😢
You need to use a plugin command, not a script call in a movement route.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-enemy-good-for-hunting-player.102549/