{"name":"BIN_fnc_setTXScanPolygon","operator":null,"title":"BIN fnc setTXScanPolygon","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_setTXScanPolygon","revid":281378,"updated":"2021-06-14T09:09:32Z","groups":["TXScan"],"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":"Pre-sets intersection polygon for given scan. Can only be done with newly created scans since once the first scan is made, the polygon cannot be overwritten\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"[param0, param1] call BIN_fnc_setTXScanPolygon","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"String","types":["String"],"optional":false,"default":null,"description":"TXScan name","since":null,"text":"0: STRING - TXScan name","source":"docblock"},{"name":"param1","type":"Array","types":["Array"],"optional":false,"default":null,"description":"polygon points","since":null,"text":"1: ARRAY - polygon points","source":"docblock"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"BOOL - false on error","source":"docblock"},"inferred":true}],"examples":[{"text":"```sqf\n[\"MyScan\",[p1,p2,p3...]] call BIN_fnc_setTXScanPolygon\n```","code":["[\"MyScan\",[p1,p2,p3...]] call BIN_fnc_setTXScanPolygon"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: TXScan","Functions","Introduced with Arma 3 version 1.94"],"docblock":{"author":"Killzone_Kid","description":"Pre-sets intersection polygon for given scan. Can only be done with newly created scans since once the first scan is made, the polygon cannot be overwritten","params":[{"index":0,"name":null,"types":["String"],"optional":false,"default":null,"description":"TXScan name","text":"STRING - TXScan name"},{"index":1,"name":null,"types":["Array"],"optional":false,"default":null,"description":"polygon points","text":"ARRAY - polygon points"}],"returns":{"types":["Boolean"],"text":"BOOL - false on error"},"examples":["[\"MyScan\",[p1,p2,p3...]] call BIN_fnc_setTXScanPolygon"],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"    Killzone_Kid\n\nDescription:\n    Pre-sets intersection polygon for given scan. Can only be done with newly created scans since once the first scan is made, the polygon cannot be overwritten\n\nParameter(s):\n    0: STRING - TXScan name\n    1: ARRAY - polygon points\n\nReturns:\n    BOOL - false on error\n\nExample:\n    [\"MyScan\",[p1,p2,p3...]] call BIN_fnc_setTXScanPolygon"},"filled_from_docblock":["params","syntax","returns","examples","description"]}