detach: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added see also)
m (template:command argument fix)
Line 16: Line 16:
| '''detach''' object |= Syntax
| '''detach''' object |= Syntax


|p1= object: [[Object]] -  |= PARAMETER1
|p1= object: [[Object]] -  |PARAMETER1=  




Line 23: Line 23:
   
   
|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=  


| [[attachedObjects]], [[attachedTo]], [[attachTo]] |= SEEALSO
| [[attachedObjects]], [[attachedTo]], [[attachTo]] |SEEALSO=  


}}
}}

Revision as of 10:30, 7 April 2019

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:
Uncategorised

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