attachedObject location

Operand types

location: Location

Type of returned value

Description

Returns the object a location is attached to.
If the location is unattached, then objNull is returned.

Used In

ArmA

Example

_ObjLoc = attachedObject _location
Search OFPEC COMREF