MZ Visustella Encounter effects

Hey guys!
I'm planning on doing some stealth sequences with the Visustella Encounter effects, and I want to trigger a common event when the actors get into an event's detection range. How can I do it?
Are you saying that you want the common event to trigger once the actors are spotted by the enemy? Or when they're within a certain range, but haven't been spotted yet?

If it's the first option, then this is the note tag that you want:
Code:
<Alert Common Event: x>

- Used for: Event Notetags and Event Page Comment Tags
- Enables alert detection towards the player on the event.
- Runs a Common Event when initially alerted.
- Replace 'x' with a number representing the ID of the Common Event to run.
- Use 0 to run no Common Events.

Original thread: https://forums.rpgmakerweb.com/threads/visustella-encounter-effects.144497/