So, I've searched for an example for this and can't seem to find one.
In a top down adventure style game like Diablo, is there a way to use pathfinding to make enemies wander randomly, and take into account obstacles on the screen (so they will pathfind around them) and still make it so they will then chase and attack the player should they get to close?
I've tried everything I can for probably the last month now, and can't seem to find a good example of this.
If someone could help, I'd greatly appreciate it!