attachedTo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.16|= Game version _________________...")
 
(example, see also)
Line 17: Line 17:




|x1= <code></code>|= EXAMPLE1
|x1= <code>{
[[detach]] _x;
} [[forEach]] [[attachedTo]] [[player]];</code>|= EXAMPLE1
   
   


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[attachTo]] |= SEEALSO  
| [[attachTo]], [[detach]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 14:46, 15 March 2014

Hover & click on the images for description

Description

Description:
Returns list of attached objects.
Groups:
Uncategorised

Syntax

Syntax:
attachedTo object
Parameters:
object: Object
Return Value:
Array

Examples

Example 1:
{ detach _x; } forEach attachedTo player;

Additional Information

See also:
attachTodetach

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