Official Soldat Forums
Server Talk => Scripting Discussions and Help => Topic started by: soldat-game on February 11, 2016, 08:42:13 am
-
How I can calculate this distance using function distance();
(http://forums.soldat.pl/index.php?action=dlattach;topic=44222.0;attach=32444;image)
And can add Map.Bullet.AirTime and Map.Bullet.RicochetNum and Map.Bullet.FlyingDistance
-
Divide the result of distance() by 14 to convert to 'm'.
-
This does not give the exact values are very different .The values vary depending on the distances of up to 5
-
The exact coordinates it uses to calculate the distance might differ from the ones you are using (this has bullet initial position and something else which I'm not sure what it is).
-
But it says invalid data even though I and the opponent dont move
-
(this has bullet initial position and something else which I'm not sure what it is). devs what something else?