nearestObjects position

Operand types

position: Array

Type of returned value

Description

Returns a list of nearest objects of the given types to the given position or object, within the specified distance.
Pos may be using format [[x,y,z], ["type",...], limit] or [object, ["type",...], limit].

Used In

ArmA

Example

nearestObjects [player, ["Car","Tank"], 200]
Search OFPEC COMREF