attachObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "")
(4 intermediate revisions by 2 users not shown)
Line 9: Line 9:


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


Line 40: Line 44:


[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Armed Assault|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Locations|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 16:14, 24 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