{"name":"BIS_fnc_exportCuratorCostTable","operator":null,"title":"BIS fnc exportCuratorCostTable","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_exportCuratorCostTable","revid":281314,"updated":"2021-06-14T09:08:09Z","groups":["Curator"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.16"}],"since":{"game":"arma3","name":"Arma 3","version":"1.16"},"arma3_since":"1.16","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Generate spreadsheet with object classes and copy it to clipboard. The table will generate export code to be used in BIS_fnc_curatorObjectRegisteredTable","syntaxes":[{"syntax":"arg call BIS_fnc_exportCuratorCostTable","since":null,"effect":null,"exec":null,"params":[{"name":"arg","type":"Array, String","types":["Array","String"],"optional":true,"default":"{true}","description":"supported addons (classes from CfgPatches). When empty, all preloaded addons will be added. Use empty string to export just the cost calculation.\n1 (Optional): STRING - format, can be \"ods\" or \"xls\"\n2 (Optional): STRING - name of sheet with cost calculation. When empty, the calculation will be inserted on top of the table\n3 (Optional): ARRAY of SIDEs or NUMBERs - filter only objects of listed sides or side IDs. Supported sides are west, east, resistance, civilian, sideUnknown and sideLogic\n4 (Optional): CODE - condition for class to be listed. Config path to the class is passed as an argument (default: {true})\n5 (Optional): CODE - default cost, must return STRING. When empty string is returned, no default cost will be used (default: {\"\"})","since":null,"text":"0 (Optional): ARRAY of STRINGs - supported addons (classes from CfgPatches). When empty, all preloaded addons will be added. Use empty string to export just the cost calculation.\n1 (Optional): STRING - format, can be \"ods\" or \"xls\"\n2 (Optional): STRING - name of sheet with cost calculation. When empty, the calculation will be inserted on top of the table\n3 (Optional): ARRAY of SIDEs or NUMBERs - filter only objects of listed sides or side IDs. Supported sides are west, east, resistance, civilian, sideUnknown and sideLogic\n4 (Optional): CODE - condition for class to be listed. Config path to the class is passed as an argument (default: {true})\n5 (Optional): CODE - default cost, must return STRING. When empty string is returned, no default cost will be used (default: {\"\"})","source":"docblock"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"BOOL","source":"docblock"},"inferred":true}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_curatorObjectRegisteredTable"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Curator","Functions","Introduced with Arma 3 version 1.16"],"docblock":{"author":null,"description":"Generate spreadsheet with object classes and copy it to clipboard. The table will generate export code to be used in BIS_fnc_curatorObjectRegisteredTable","params":[{"index":null,"name":null,"types":["Array","String"],"optional":true,"default":"{true}","description":"supported addons (classes from CfgPatches). When empty, all preloaded addons will be added. Use empty string to export just the cost calculation.\n1 (Optional): STRING - format, can be \"ods\" or \"xls\"\n2 (Optional): STRING - name of sheet with cost calculation. When empty, the calculation will be inserted on top of the table\n3 (Optional): ARRAY of SIDEs or NUMBERs - filter only objects of listed sides or side IDs. Supported sides are west, east, resistance, civilian, sideUnknown and sideLogic\n4 (Optional): CODE - condition for class to be listed. Config path to the class is passed as an argument (default: {true})\n5 (Optional): CODE - default cost, must return STRING. When empty string is returned, no default cost will be used (default: {\"\"})","text":"0 (Optional): ARRAY of STRINGs - supported addons (classes from CfgPatches). When empty, all preloaded addons will be added. Use empty string to export just the cost calculation.\n1 (Optional): STRING - format, can be \"ods\" or \"xls\"\n2 (Optional): STRING - name of sheet with cost calculation. When empty, the calculation will be inserted on top of the table\n3 (Optional): ARRAY of SIDEs or NUMBERs - filter only objects of listed sides or side IDs. Supported sides are west, east, resistance, civilian, sideUnknown and sideLogic\n4 (Optional): CODE - condition for class to be listed. Config path to the class is passed as an argument (default: {true})\n5 (Optional): CODE - default cost, must return STRING. When empty string is returned, no default cost will be used (default: {\"\"})"}],"returns":{"types":["Boolean"],"text":"BOOL"},"examples":[],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"Description:\nGenerate spreadsheet with object classes and copy it to clipboard.\nThe table will generate export code to be used in BIS_fnc_curatorObjectRegisteredTable\n\nParameter(s):\n    0 (Optional): ARRAY of STRINGs - supported addons (classes from CfgPatches). When empty, all preloaded addons will be added. Use empty string to export just the cost calculation.\n    1 (Optional): STRING - format, can be \"ods\" or \"xls\"\n    2 (Optional): STRING - name of sheet with cost calculation. When empty, the calculation will be inserted on top of the table\n    3 (Optional): ARRAY of SIDEs or NUMBERs - filter only objects of listed sides or side IDs. Supported sides are west, east, resistance, civilian, sideUnknown and sideLogic\n    4 (Optional): CODE - condition for class to be listed. Config path to the class is passed as an argument (default: {true})\n    5 (Optional): CODE - default cost, must return STRING. When empty string is returned, no default cost will be used (default: {\"\"})\n\nReturns:\nBOOL"},"filled_from_docblock":["description","params","syntax","returns"]}