Arma 3 Scripting

Command in Object Manipulation

attachedObject

Also available as Markdown and JSON, or read the original wiki page.

Description

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

Syntax

attachedObject location

Parameters:

Returns: Object

Examples

Example 1

_locAttachedObj = attachedObject myLocation;

See also

attachObject · attachTo · attachedObjects · attachedTo · waypointAttachVehicle · waypointAttachedVehicle · lightAttachObject · triggerAttachVehicle