Arma 3 Scripting

attachedTo

  • Global argument
  • Arma 3 v1.14

Command · Markdown · JSON · original wiki page

Description

Returns object the given object is attached to or objNull if the given object is not attached to anything.

Syntax

attachedTo obj

Parameters:

Returns: Object - object the given object is attached to

Examples

Example 1

if (isNull attachedTo _obj1) then
{
    hint "_obj1 is not attached to anything.";
};

See also

attachObject · attachTo · attachedObjects · waypointAttachVehicle · waypointAttachedVehicle · lightAttachObject · triggerAttachVehicle · attachedObject · detach