How to improve event AI?

In my game, enemies start battles by walking up to you, while I can make an enemy approach the player, the enemy tends to get stuck on trees and rocks instead of going around them, is there a way around this? Maybe a script of some sorts?
You simply need to make them find a correct path to the player: http://forums.rpgmakerweb.com/index.php?/topic/3064-pathfinding/

- Duke
You simply need to make them find a correct path to the player: http://forums.rpgmakerweb.com/index.php?/topic/3064-pathfinding/

- Duke
I suppose that could work, but it seems to help the event find a specific point, unless I am mistaken.

EDIT: A specific point instead of the player*
You can use move routes with pathfinding to move toward a player. Or put the players location in a variable and use the pathfinding to update its path its the same as finding a specific point since that is where your player is, though this may cause lag issues since the pathfinding will need to update more. The smaller the map the better.
Something, like this?

http://forums.rpgmakerweb.com/index.php?/topic/35677-theo-pathfinding-and-event-chase-player/#entry352982
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.
That is great, very smooth too. Poor bat he is trying so hard.
I'd also consider some form of a "Sensor".

Sensors basically change a Self Switch to ON when the Player is within a specified range of the event.  Using a Sensor (Simple Event Sensor, google it) will help make an NPC Event not chase you from all the way across the map.
@TheoAllen This is perfect! Thank you, that video is also pretty funny! :3

Original thread: https://forums.rpgmakerweb.com/threads/how-to-improve-event-ai.35731/