---
name: "BIN_fnc_addSiteEntities"
type: function
status: ok
groups: ["Contact"]
arma3_since: "1.94"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIN_fnc_addSiteEntities
revid: 363741
updated: 2024-04-17T15:24:34Z
---

# BIN_fnc_addSiteEntities

*Function · Contact · Arma 3 v1.94*

## Description

Register entities to a site, so they can be despawned with the rest when player leaves the area.

> [!NOTE]
> This content is exclusive to the Arma 3 Contact Expansion.

## Syntax

*syntax inferred from the function header*

```sqf
[param0, param1] call BIN_fnc_addSiteEntities
```

**Parameters:**

- `param0` — 0: OBJECT - site logic. The site must be spawned for the function to work.
- `param1` — 1: ARRAY - entities to be added. Types can be mixed, the system will sort them out itself.

**Returns:** BOOL - true if added

## Function header

The comment at the top of the function's file in the game; this page's params, syntax, returns, description come from it.

```sqf
/*
Description:
    Register entities to a site, so they can be despawned with the rest when player leaves the area.

Parameter(s):
    0: OBJECT - site logic. The site must be spawned for the function to work.
    1: ARRAY - entities to be added. Types can be mixed, the system will sort them out itself.

Returns:
    BOOL - true if added
*/
```

<sub>Source: [BI Community Wiki — BIN fnc addSiteEntities](https://community.bistudio.com/wiki/BIN_fnc_addSiteEntities) (revision 363741).</sub>
