How do I make a laser scope not detect player through walls (other tags)
I have a laser scope, a wall and the player. I want it to tag the player when there is no obstacle in between, but I cant do it. If I untag the wall, it ll go through, if I tag it, it ll activate all the time because it hits the wall. How can I tell it to only hit player but not if a wall is in between?
-
Your gonna need two laser scopes in exactly the same position. One that only detects walls and one that only detects players. Check the distance of the wall one is less than the distance of the player one using a maths gadget and you should be able to tell when you are aiming at a player but there is a wall in the way.
Hope this helps :) - Peter -
I'm trying to do something similar... I'm experimenting with having the laser scope turn on or off a wireless receiver that can detect the player when it hits a wall or not, might be worth looking into.
-
Actually I figured it out. There is a setting inside the gadget called "xray", turning it off does what I want. Thank god that it exist or I had to do some complex stuff to figure it out.
Please sign in to leave a comment.