position nearestObject id

Operand types

position: Array
id: Number

Type of returned value

Description

Find object nearest to given position with given Visitor id.
Will find objects further than 50m away.

Used In

ArmA

Example

obj = position player nearestObject 1234
Search OFPEC COMREF