{"name":"BIN_fnc_getTerrainObjects","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.94"}],"since":{"game":"arma3","name":"Arma 3","version":"1.94"},"arma3_since":"1.94","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"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","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"Array","types":["Array"],"optional":false,"default":null,"description":"area details in Area format (see BIS_fnc_getArea)","since":null,"text":"0: ARRAY - area details in Area format (see BIS_fnc_getArea)","source":"docblock"},{"name":"param1","type":"Array","types":["Array"],"optional":false,"default":null,"description":"types of terrain objects, for example [\"HOUSE\", \"TREE\"]","since":null,"text":"1: ARRAY - types of terrain objects, for example [\"HOUSE\", \"TREE\"]","source":"docblock"}],"returns":{"type":"Array, Object","types":["Array","Object"],"description":null,"text":"ARRAY of objects","source":"docblock"},"inferred":true}],"examples":[{"text":"```sqf\n[\"myArea\", [player, 100], [\"HOUSE\", \"TREE\"]] call BIN_fnc_getTerrainObjects\n```","code":["[\"myArea\", [player, 100], [\"HOUSE\", \"TREE\"]] call BIN_fnc_getTerrainObjects"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Collisions","Functions","Introduced with Arma 3 version 1.94"],"docblock":{"author":"Killzone_Kid","description":"Returns terrain objects of the given type for the given area dimensions","params":[{"index":0,"name":null,"types":["Array"],"optional":false,"default":null,"description":"area details in Area format (see BIS_fnc_getArea)","text":"ARRAY - area details in Area format (see BIS_fnc_getArea)"},{"index":1,"name":null,"types":["Array"],"optional":false,"default":null,"description":"types of terrain objects, for example [\"HOUSE\", \"TREE\"]","text":"ARRAY - types of terrain objects, for example [\"HOUSE\", \"TREE\"]"}],"returns":{"types":["Array","Object"],"text":"ARRAY of objects"},"examples":["[\"myArea\", [player, 100], [\"HOUSE\", \"TREE\"]] call BIN_fnc_getTerrainObjects"],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"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"},"filled_from_docblock":["params","syntax","returns","examples","description"]}