{"name":"precision","operator":null,"title":"precision","type":"command","url":"https://community.bistudio.com/wiki/precision","revid":369414,"updated":"2024-09-03T18:46:04Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma1","name":"Armed Assault","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Return the movement precision of the given entity, how is the entity able to be precise when moving to given target.\n\n> [!NOTE]\n> See CfgVehicles Config Reference#precision.","syntaxes":[{"syntax":"precision entity","since":null,"effect":null,"exec":null,"params":[{"name":"entity","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"entity: Object"}],"returns":{"type":"Number","types":["Number"],"description":"accuracy in metres","text":"Number - accuracy in metres"},"form":"unary","operator":null,"left":null,"right":{"text":"entity","types":["Object"]}}],"examples":[{"text":"```sqf\n// used in formationCDanger.fsm\nif (getPosATL _this distance _dangerPos <= precision _this) then { /* ... */ };\n```","code":["// used in formationCDanger.fsm\nif (getPosATL _this distance _dangerPos <= precision _this) then { /* ... */ };"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["visiblePositionASL"],"notes":[],"categories":["ArmA: Armed Assault: New Scripting Commands","ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Armed Assault version 1.00","Scripting Commands","Take On Helicopters: Scripting Commands"]}