Arma 3 Scripting

Command in Object Manipulation

precision

Also available as Markdown and JSON, or read the original wiki page.

Description

Return the movement precision of the given entity, how is the entity able to be precise when moving to given target.

Note

See CfgVehicles Config Reference#precision.

Syntax

precision entity

Parameters:

Returns: Number - accuracy in metres

Examples

Example 1

// used in formationCDanger.fsm
if (getPosATL _this distance _dangerPos <= precision _this) then { /* ... */ };

See also

visiblePositionASL