I have been making a game that needs a very basic stealth system. What I need is that if you are within a triangle/cone (whatever you want to call it) in front of them, a script will run, unless there is a non-passable tile between them and the player. I would also be OK with it using region ID or terrain tags. I have been looking for a long time, but all I could find were ones where they could see through walls, or it was too complicated, with things like distraction, camouflaged armor, noise, etc. After hours of Google and even trying to combine parts of scripts into one "patchwork script" (which didn't work, obviously), I still haven't found any.
I did manage to find some graphics that explains what I need pretty well, though:
Runs a script. Does nothing.
Does anyone know if a script like this exists?
I did manage to find some graphics that explains what I need pretty well, though:
Runs a script. Does nothing.
Does anyone know if a script like this exists?