attachedObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 28: Line 28:
|x1= <code>_locAttachedObj = [[attachedObject]] myLocation;</code>
|x1= <code>_locAttachedObj = [[attachedObject]] myLocation;</code>


|seealso= [[attachObject]] [[attachTo]] [[attachedObjects]] [[attachedTo]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]], [[lightAttachObject]], [[triggerAttachVehicle]]
|seealso= [[attachObject]] [[attachTo]] [[attachedObjects]] [[attachedTo]] [[waypointAttachVehicle]] [[waypointAttachedVehicle]] [[lightAttachObject]], [[triggerAttachVehicle]]
}}
}}

Revision as of 14:06, 20 January 2022

Hover & click on the images for description

Description

Description:
Returns the object a location is attached to. If the location is unattached, then objNull is returned.
Groups:
Object Manipulation

Syntax

Syntax:
attachedObject location
Parameters:
location: Location
Return Value:
Object

Examples

Example 1:
_locAttachedObj = attachedObject myLocation;

Additional Information

See also:
attachObject attachTo attachedObjects attachedTo waypointAttachVehicle waypointAttachedVehicle lightAttachObjecttriggerAttachVehicle

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