I need some help with the artificial intelligence. In my game, there are some people walking in a specific pattern. I want to make a person stop when he see the player, have a baloon icon and load the game over screen. I know how to do this last three things, the thing that i don't know is: how can i make the event start when the player is seen by the NPC?
I'm not so good at english, so i attached a file to make you understand better.

I'm not so good at english, so i attached a file to make you understand better.
