attachObject

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for descriptions

Description

Description:
Attaches a location to the specified object. To detach a location, attach it to objNull.

Syntax

Syntax:
location attachObject object
Parameters:
location: Location
object: Object
Return Value:
Nothing

Examples

Example 1:
myLocation attachObject player;

Additional Information

See also:
attachedObjectcreateLocation
Groups:
Object ManipulationLocations

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