attachedTo

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.14
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.14

Description

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

Syntax

Syntax:
attachedTo obj
Parameters:
obj: Object - given object
Return Value:
Object - object the given object is attached to

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