attachedTo

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.14
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.14

Description

Description:
Returns the object it is attached to.
Returns objNull if not attached to anything.

Syntax

Syntax:
attachedTo object
Parameters:
object: Object - child object
Return Value:
Object - parent object

Examples

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

Additional Information

Multiplayer:
-
See also:
attachObjectattachToattachedObjectswaypointAttachVehiclewaypointAttachedVehiclelightAttachObjecttriggerAttachVehicleattachedObjectdetach

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section