attachedTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
mNo edit summary
Line 7: Line 7:


|arg= global |Multiplayer Arguments=
|arg= global |Multiplayer Arguments=
|gr1= Object Manipulation |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:01, 22 September 2020

Hover & click on the images for description

Description

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

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

See also:
attachObjectattachToattachedObjectswaypointAttachVehiclewaypointAttachedVehiclelightAttachObjecttriggerAttachVehicleattachedObjectdetach

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section