attachObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
mNo edit summary
Line 9: Line 9:


|eff= |Multiplayer Effects=
|eff= |Multiplayer Effects=
|gr1= Object Manipulation |GROUP1=
|gr2= Locations |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:02, 22 September 2020

-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
myLocation attachObject player;

Additional Information

See also:
attachedObjectcreateLocation

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