Stealth Game Play

So I've been playing around with enemies on screen. I know you can set events you go after your character. But is there any way to set vision cones like in Metal Gear? 
The easiest way is to have the enemies fixed, and set invisible touch events down wherever their line of vision would be.

If you need a truer form of this (because the enemies are in unpredictable places, are moving, etc.), look into a Line of Sight script.
I feel Yanfly is messing with me because she put up a video about a plugin that should do what I asked for. I just need to see if there is a way to have battles if the event is one square away. Is there a way to do that or is it script foo time?
Easy um, that depends, do you want halffast mechanic that only works in some occasions or do you want a function mechanic?

Your best bet for a functional system, would be to create a radios system in a common event, and have a condition branch have a if x event is facing the char is in range.

A even easier/more efficient way, would be to use a region event script, so you don't need to run a parallel proc common event or create a radios system from scratch(just place the rigion code down where ever you want said enemy to beable to detect you)..

Original thread: https://forums.rpgmakerweb.com/threads/stealth-game-play.46261/