NPC's With Line of Sight-Eventing Help

Can anyone show me (with pictures) how to make npc's have a line of sight where they walk up to you and battle you if they see you? Preferably without the use of scripts. Thanks!
This tutorial might be what you're looking for.
You could do it the easy way and have the player walk over a touch event...


Or try reverse engineering the examples given here?
@ksjp17 That looks really complicated, but I guess I can try it. Thanks for responding.

Original thread: https://forums.rpgmakerweb.com/threads/npcs-with-line-of-sight-eventing-help.72092/