01-04-2016, 07:11 AM
Maybe for dead bodies, I'm thinking of using the following
BIS_fnc_relativeDirTo and distance for allUnits (side East) and allDead
Maybe if their distance is about 3 - 5 meters away or something and the relativeDirTo of the dead body is in an FOV of about 60 degrees or something, make the alarm raise. It wouldn't make sense in daylight since its easier to see (unless you increase relativeDirTo but then that'll make them see through walls. Maybe this might work for night. Maybe in some occassion it may seem that the AI is so retarded that they walk across a dead body without seeing, and maybe they may see in some occassion if its along their patrol route. Well, that'll make them seem dumber than Splinter Cell AIs but that's a start xD
BIS_fnc_relativeDirTo and distance for allUnits (side East) and allDead
Maybe if their distance is about 3 - 5 meters away or something and the relativeDirTo of the dead body is in an FOV of about 60 degrees or something, make the alarm raise. It wouldn't make sense in daylight since its easier to see (unless you increase relativeDirTo but then that'll make them see through walls. Maybe this might work for night. Maybe in some occassion it may seem that the AI is so retarded that they walk across a dead body without seeing, and maybe they may see in some occassion if its along their patrol route. Well, that'll make them seem dumber than Splinter Cell AIs but that's a start xD