attachedTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) - ([a-z -]+) \|x1=" to "|r1=$1 - $2 |x1=")
m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=")
Line 11: Line 11:
| Returns object the given object is attached to or [[objNull]] if the given object is not attached to anything.
| Returns object the given object is attached to or [[objNull]] if the given object is not attached to anything.


| '''attachedTo''' obj
|s1=  '''attachedTo''' obj


|p1= obj: [[Object]] - given object
|p1= obj: [[Object]] - given object

Revision as of 22:45, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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