Posts: 312
Threads: 94
Joined: Jun 2012
Reputation:
0
Is it possible to test the line of sight between two players? if so, how?
Posts: 430
Threads: 75
Joined: May 2012
Reputation:
0
What do you mean? Like distance that's needed for player to show to another or what?
If so, I don't think that's possible, but I think you can do it for name tags, I guess.
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
As it's client-sided no. I remember seeing a thread exactly like this a few days ago(maybe around a week ago), and I believe a BT answered saying the same thing. It'd be impossible to retreive the line of sight between two players, as it is not data that is sent to the server.
Posts: 2,203
Threads: 154
Joined: Oct 2009
Reputation:
0
Thread was mine suggesting implementation of these feature.
For now only way i know is to use map andreas. Its hard for server and not accurate in most cases.
But there is a plugin in a development ColAndreas (Col - stands for Collision). These would allow you to check for line of sight. But its still not released yet.