Description
Adds given array of objects to area, ovewriting previous objects data stored for the area in extension
Note
This content is exclusive to the Arma 3 Contact Expansion.
Syntax
syntax inferred from the function header
[param0, param1] call BIN_fnc_addObjectsToArea
Parameters:
param0— 0: STRING - area nameparam1— 1: ARRAY - array of objects to add
Returns: NUMBER - number of objects added
Examples
Example 1
["myArea", [obj1,ob2,...]] call BIN_fnc_addObjectsToArea
Function header
The comment at the top of the function's file in the game; this page's params, syntax, returns, examples, description come from it.
/*
Killzone_Kid
Description:
Adds given array of objects to area, ovewriting previous objects data stored for the area in extension
Parameter(s):
0: STRING - area name
1: ARRAY - array of objects to add
Returns:
NUMBER - number of objects added
Example:
["myArea", [obj1,ob2,...]] call BIN_fnc_addObjectsToArea
*/