Arma 3 Scripting

precision

  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · 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