Hey, guys. I need some help making a crucial mechanic for the horror game that I’m making. It involves an enemy AI and a Spot Light. I want to make the enemy’s weakness the player’s flashlight (Spot Light). When the enemy comes in contact with the Spot Light, I want the enemy to stop moving. Does anybody know how I can make this happen? And if you’re wondering, I got this idea from the game Slender: The Arrival (as shown in the video below). If anyone could help me out with this, I’d greatly appreciate it! Please and thanks in advance!
If you have no idea what I’m talking about, please refer to points 0:18,0:23, and 0:28.