{"name":"BIN_fnc_createTXScan","operator":null,"title":"BIN fnc createTXScan","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_createTXScan","revid":309609,"updated":"2022-05-05T12:07:40Z","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":"Creates a scan with the name defined as class in CfgTXScans or from given params. If name doesn't exists in config and params are not provided, default scan is created which could be tweaked later\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"[param0, param0, param1, param2, param3, param4] call BIN_fnc_createTXScan","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"String","types":["String"],"optional":false,"default":null,"description":"\"\" create every scan from config\nor","since":null,"text":"0: STRING - \"\" create every scan from config\nor","source":"docblock"},{"name":"param0","type":"String","types":["String"],"optional":false,"default":null,"description":"scan name","since":null,"text":"0: STRING - scan name","source":"docblock"},{"name":"param1","type":"Array","types":["Array"],"optional":true,"default":null,"description":"TX position","since":null,"text":"1: ARRAY (Optional) - TX position","source":"docblock"},{"name":"param2","type":"Number","types":["Number"],"optional":true,"default":null,"description":"scan angle","since":null,"text":"2: NUMBER (Optional) - scan angle","source":"docblock"},{"name":"param3","type":"Number","types":["Number"],"optional":true,"default":null,"description":"scan precision","since":null,"text":"3: NUMBER (Optional) - scan precision","source":"docblock"},{"name":"param4","type":"Array","types":["Array"],"optional":true,"default":null,"description":"scan polygon","since":null,"text":"4: ARRAY (Optional) - scan polygon","source":"docblock"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"BOOL - false on error","source":"docblock"},"inferred":true}],"examples":[{"text":"```sqf\n\"MyScan\" call BIN_fnc_createTXScan\n\"\" call BIN_fnc_createTXScan - creates every scan from config\n[\"MyScan\", [1,2,3], 20, 0.1] call BIN_fnc_createTXScan - creates every scan from config\n```","code":["\"MyScan\" call BIN_fnc_createTXScan\n\"\" call BIN_fnc_createTXScan - creates every scan from config\n[\"MyScan\", [1,2,3], 20, 0.1] call BIN_fnc_createTXScan - creates every scan from config"]}],"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":"Creates a scan with the name defined as class in CfgTXScans or from given params. If name doesn't exists in config and params are not provided, default scan is created which could be tweaked later","params":[{"index":0,"name":null,"types":["String"],"optional":false,"default":null,"description":"\"\" create every scan from config\nor","text":"STRING - \"\" create every scan from config\nor"},{"index":0,"name":null,"types":["String"],"optional":false,"default":null,"description":"scan name","text":"STRING - scan name"},{"index":1,"name":null,"types":["Array"],"optional":true,"default":null,"description":"TX position","text":"ARRAY (Optional) - TX position"},{"index":2,"name":null,"types":["Number"],"optional":true,"default":null,"description":"scan angle","text":"NUMBER (Optional) - scan angle"},{"index":3,"name":null,"types":["Number"],"optional":true,"default":null,"description":"scan precision","text":"NUMBER (Optional) - scan precision"},{"index":4,"name":null,"types":["Array"],"optional":true,"default":null,"description":"scan polygon","text":"ARRAY (Optional) - scan polygon"}],"returns":{"types":["Boolean"],"text":"BOOL - false on error"},"examples":["\"MyScan\" call BIN_fnc_createTXScan\n\"\" call BIN_fnc_createTXScan - creates every scan from config\n[\"MyScan\", [1,2,3], 20, 0.1] call BIN_fnc_createTXScan - creates every scan from config"],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"    Killzone_Kid\n\nDescription:\n    Creates a scan with the name defined as class in CfgTXScans or from given params.\n    If name doesn't exists in config and params are not provided, default scan is created which could be tweaked later\n\nParameter(s):\n    0: STRING - \"\" create every scan from config\n    or\n    0: STRING - scan name\n    1: ARRAY (Optional) - TX position\n    2: NUMBER (Optional) - scan angle\n    3: NUMBER (Optional) - scan precision\n    4: ARRAY (Optional) - scan polygon\n\nReturns:\n    BOOL - false on error\n\nExamples:\n    \"MyScan\" call BIN_fnc_createTXScan\n    \"\" call BIN_fnc_createTXScan - creates every scan from config\n    [\"MyScan\", [1,2,3], 20, 0.1] call BIN_fnc_createTXScan - creates every scan from config"},"filled_from_docblock":["params","syntax","returns","examples","description"]}