detach: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 11: Line 10:


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation |GROUP1=
____________________________________________________________________________________________


| Detaches previously attached with [[attachTo]] object. |DESCRIPTION=
| Detaches previously attached with [[attachTo]] object. |DESCRIPTION=
____________________________________________________________________________________________


| '''detach''' object |SYNTAX=
| '''detach''' object |SYNTAX=
Line 22: Line 19:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>obj1 [[attachTo]] [player];
|x1= <code>obj1 [[attachTo]] [player];
[[detach]] obj1;</code> |EXAMPLE1=
[[detach]] obj1;</code> |EXAMPLE1=
____________________________________________________________________________________________


|mp= Only has to be executed on one client. |MPBEHAVIOUR=  
|mp= Only has to be executed on one client. |MPBEHAVIOUR=  

Revision as of 00:41, 17 January 2021

Hover & click on the images for description

Description

Description:
Detaches previously attached with attachTo object.
Multiplayer:
Only has to be executed on one client.
Groups:
Object Manipulation

Syntax

Syntax:
detach object
Parameters:
object: Object -
Return Value:
Nothing

Examples

Example 1:
obj1 attachTo [player]; detach obj1;

Additional Information

See also:
attachedObjectsattachedToattachTo

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