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
[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.
/*
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
*/