---
name: "addToRemainsCollector"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.32"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/addToRemainsCollector
revid: 353431
updated: 2024-03-18T11:57:19Z
---

# addToRemainsCollector

*Command · Object Manipulation · Arma 3 v1.32*

Locality: arguments **global** · effect **global**

## Description

Adds an array of vehicles/units to disposal manager for automatic wreck/body removal. The disposal manager follows wreck/body removal values set in [description.ext](../topics/Description.ext.md)

## Syntax

```sqf
addToRemainsCollector remains
```

**Parameters:**

- `remains`: [Array](../topics/Array.md) of [Object](../topics/Object.md)s - array of vehicles/units

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
addToRemainsCollector [unit1, unit2, vehicle1];
```

## See also

[removeFromRemainsCollector](../commands/removeFromRemainsCollector.md) · [isInRemainsCollector](../commands/isInRemainsCollector.md) · [diag_remainsCollector](../commands/diag_remainsCollector.md)

<sub>Source: [BI Community Wiki — addToRemainsCollector](https://community.bistudio.com/wiki/addToRemainsCollector) (revision 353431).</sub>
