attachedObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - " " to " ")
Line 14: Line 14:


| [[Array]] of [[Object]]s attached to the given object
| [[Array]] of [[Object]]s attached to the given object
 
 
|x1= <code>{
|x1= <code>{
   [[detach]] _x;
   [[detach]] _x;

Revision as of 19:56, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
obj: Object - given object
Return Value:
Return value needed

Examples

Example 1:
{ detach _x; } forEach attachedObjects player;
Example 2:
if (count attachedObjects player == 0) then { hint "There are no objects attached to player"; };

Additional Information

See also:
attachObjectattachToattachedTowaypointAttachVehiclewaypointAttachedVehiclelightAttachObjecttriggerAttachVehicleattachedObjectdetach

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