lynx75 1 Posted February 5, 2014 (edited) Hi everyone, I recently observed probably since the last update that format the getPosATL command return an accuracy for X and Y with only two decimal after the coma. I dont understand why. This is a real problem for high precision placement like a fence or objects junctions. Why the string conversion of getPosATL is only 2DM for X and Y? Is it normal - for optimization purpose or is it a bug ? Anyone has an explanation? Thanks in advance Edited February 9, 2014 by Lynx75 correction to avoid confusion Share this post Link to post Share on other sites
Emperias 11 Posted February 5, 2014 Hi all, I observed the same problem. It poses a real problem for the precision of positioning objects for my missions. thank you in advance for your answers. Share this post Link to post Share on other sites
das attorney 858 Posted February 5, 2014 Well spotted there Lynx75. I checked a variety of position commands and they are ALL only saving the X and Y co-ords to 2 decimal places. Weirdly, the Z co-ord is calculated to 8DP. It used to be 5DP. On dev branch: getPosATL player "[1519.16,5017.56,0.00143909]" "[1528.68,5015.05,0.27683]" "[1513.77,5036.54,0.00143862]" "[1512.78,5045.15,0.00143862]" "[1516.92,5048.74,0.00143862]" "[1517.4,5049.04,0.00143862]" "[1517.66,5049.16,0.00143862]" "[1518.16,5049.62,0.00143862]" "[1518.41,5049.69,0.00143862]" getPos player "[1518.4,5049.7,0.00143862]" "[1517.79,5052.4,0.00143862]" "[1515.77,5052.19,0.00143862]" "[1515.52,5048.64,0.00143862]" "[1509.66,5048.77,0.00143862]" getPosASL player "[1509.65,5048.65,5.50144]" "[1511.96,5044.95,5.50144]" "[1514.88,5041.54,5.50144]" "[1521.15,5041.92,5.50144]" "[1524.97,5045.63,5.50144]" "[1528.43,5041.83,5.50144]" position player "[1528.43,5041.69,0.00143957]" "[1527.49,5043.52,0.00143957]" "[1520.21,5045.8,0.00143957]" "[1518.32,5039.84,0.00143957]" "[1514.97,5044.23,0.00143862]" visiblePosition "[1514.94,5044.22,0.00143862]" "[1515.77,5048.29,0.00143862]" "[1525.1,5047.05,0.00144005]" "[1526.2,5048.83,0.00143957]" "[1524.52,5051.44,0.00143957]" Share this post Link to post Share on other sites
samatra 85 Posted February 5, 2014 I've been discussing this thing with KK some time ago, he even wrote post about it: http://killzonekid.com/arma-scripting-tutorials-float-to-string-position-to-string/ Share this post Link to post Share on other sites
lynx75 1 Posted February 5, 2014 @Das Attorney and SaMatra Many thanks for your quick reply, i will check that Share this post Link to post Share on other sites