For some reason this beta version of the plugin doesn't seem to trigger anything at all on the event, whether it be the patrolling route or the player chase. Tried disabling the dotmove movement and also on a fresh new project, and it doesn't seem to work.
I did manage to get it kinda working by changing this parameter on the chase part of the plugin:
// Move towards target
const dir = npc.findDirectionTo(targetX, targetY);
if (dir > 0) {
npc.dotMoveToPlayer();
} else if (npc._spChaseTimer > $gameSystem.frameRate() / 2 && Math.random() < 0.1) {
npc.turnRandom();
}
}
};
However, it's inconsistent. And I think DotMove creates problems for the event's vision, since the vision is tile-based and DotMove makes it so the player isn't always aligned with a tile.