Help creating a stealth mission.

I want to create a stealth mission, as it says in the title. Is there a way to have the game check if the player is on certain coordinates when an event is on another set of coordinates?
Maybe you should try the editor command "Control Variable"? Under "Operand" select "Game Data". It should bring up the default "Map ID". Click on it and it will take you to a tab that gives you several options. If you choose "Character" you can select either the player or any of the events on that map. Further choices give you the option to set the variable to "Map X", "Map Y", "Direction", "Screen X" and "Screen Y". I am guessing that "Map X" and Map Y" will be of most interest to you.
Maybe you should try the editor command "Control Variable"? Under "Operand" select "Game Data". It should bring up the default "Map ID". Click on it and it will take you to a tab that gives you several options. If you choose "Character" you can select either the player or any of the events on that map. Further choices give you the option to set the variable to "Map X", "Map Y", "Direction", "Screen X" and "Screen Y". I am guessing that "Map X" and Map Y" will be of most interest to you.
It took a bit, but thanks to your help, I now have a functioning line of sight system. Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/help-creating-a-stealth-mission.165134/