{"name":"BIN_fnc_getTerrainObjects","title":"BIN fnc getTerrainObjects","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_getTerrainObjects","revid":309520,"updated":"2022-05-05T12:06:43Z","groups":["Collisions"],"status":"ok","games":{"arma3":"1.94"},"since":"arma3 1.94","arma3_since":"1.94","description":"Returns terrain objects of the given type for the given area dimensions\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"[param0, param1] call BIN_fnc_getTerrainObjects","params":[{"name":"param0","type":"Array","type_expr":"Array","description":"area details in Area format (see BIS_fnc_getArea)","text":"0: ARRAY - area details in Area format (see BIS_fnc_getArea)","source":"docblock"},{"name":"param1","type":"Array","type_expr":"Array","description":"types of terrain objects, for example [\"HOUSE\", \"TREE\"]","text":"1: ARRAY - types of terrain objects, for example [\"HOUSE\", \"TREE\"]","source":"docblock"}],"returns":{"type":"Array, Object","type_expr":"Array<Object>","text":"ARRAY of objects","source":"docblock"},"inferred":true}],"examples":[{"code":["[\"myArea\", [player, 100], [\"HOUSE\", \"TREE\"]] call BIN_fnc_getTerrainObjects"]}],"docblock":{"text":"    Killzone_Kid\n\nDescription:\n    Returns terrain objects of the given type for the given area dimensions\n\nParameter(s):\n    0: ARRAY - area details in Area format (see BIS_fnc_getArea)\n    1: ARRAY - types of terrain objects, for example [\"HOUSE\", \"TREE\"]\n\nReturns:\n    ARRAY of objects\n\nExample:\n    [\"myArea\", [player, 100], [\"HOUSE\", \"TREE\"]] call BIN_fnc_getTerrainObjects","author":"Killzone_Kid"},"filled_from_docblock":["params","syntax","returns","examples","description"]}