How would I go about making the enemy encounter system based on events.

Hello everyone. In my game I want to redo the encounter system. Instead of having enemies appear out of nowhere, I would rather have events roaming around specific areas. I have Yanfly's region restriction plugin and I'm sure this will come in handy with preventing the enemies from wandering too far. The things I need to know how to do are these:1. how do I make the event activate when the event "sees" your character and by sees I mean looks at you while you are within x tiles from it. I know how to use the region restriction plugin to prevent events from going to certain areas but I want the event to be able to ignore the restriction once it sees you so that it can chase you. 2. How to make them randomly respawn. I want the enemies to respawn where the event is placed 15 minutes after they are defeated. How would I go about doing this? I messed around with the timer but it don't want the time left to appear on screen and it looks like I can only have 1 timer going at a time. Thank you!
There are event line of sight plugins to help with the first part.  Do you want the enemy events to randomly respawn or respawn after 15min?
@Dalamar I would like each event to respawn 15 minutes after it is defeated.
Then you'll need an event timer script/plugin. there is only a single timer in the engine and using that would force all enemies to appear at the same time.
nvm its not gonna work
@zomina That will only work as long as you stay on the map - if you leave and return the waits will be off.


A player can force a respawn much more often that way.
@Andar yah thats what I thought would happen. Do you know a plugin that would work?
As I said above, there is an event timer plugin, but I don't have the link ready
@Andar found this:


https://galvs-scripts.com/2016/03/25/mv-event-spawn-timers/
Wouldn't move route waits work too?

Original thread: https://forums.rpgmakerweb.com/threads/how-would-i-go-about-making-the-enemy-encounter-system-based-on-events.60267/