Description
Returns terrain objects of the given type for the given area dimensions
Note
This content is exclusive to the Arma 3 Contact Expansion.
Syntax
syntax inferred from the function header
[param0, param1] call BIN_fnc_getTerrainObjects
Parameters:
param0— 0: ARRAY - area details in Area format (see BIS_fnc_getArea)param1— 1: ARRAY - types of terrain objects, for example ["HOUSE", "TREE"]
Returns: ARRAY of objects
Examples
Example 1
["myArea", [player, 100], ["HOUSE", "TREE"]] call BIN_fnc_getTerrainObjects
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:
Returns terrain objects of the given type for the given area dimensions
Parameter(s):
0: ARRAY - area details in Area format (see BIS_fnc_getArea)
1: ARRAY - types of terrain objects, for example ["HOUSE", "TREE"]
Returns:
ARRAY of objects
Example:
["myArea", [player, 100], ["HOUSE", "TREE"]] call BIN_fnc_getTerrainObjects
*/