How do i Giving an enemy sight
I'm trying to giving an enemy sight that can't see through obstacles I have managed to get it halfway working I have used laser scopes and trigger zones so when I'm behind a wall he can't see me but if I'm in front of it he still detects the wall behind me and still can't see me and I cannot figure out how to fix this. If anyone's got any ideas please help
-
I read an answer about this elsewhere... https://feedback.indreams.me/forums/917434-dreams-how-do-i/suggestions/36366391-receiver-that-is-blocked-by-walls
Compare the distance to the wall with the distance to the player. If the player is closer, the laser can see the player. -
hi,
This is really easy to fix.
Make sure you label your character with an appropriate label (I recommend "Friend")
Then tweak the laser scope to look for "Friend", now it will get stopped by anything not a "Friend" such as your wall.
But when it hits "Friend" it will have the output turn on to say I've seen this thing :)
John -
A tweak to the dev response, you also need to turn off x-ray mode so it won't go through walls.
댓글을 남기려면 로그인하세요.