object id

Operand types

id: Number

Type of returned value

Description

Return object with given ID.
Object ID's can be checked in mission editor.

DOES NOT WORK IN ARMED ASSAULT, use nearestObject instead.

Used In

OFP/ArmA

Example

_obj = object 1

Search OFPEC COMREF