BIS fnc exportCuratorCostTable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.16|Game version=
|1.16


|gr1 = Curator |GROUP1=
|gr1 = Curator


| <pre>/*
| <pre>/*
Line 25: Line 25:
*/
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small>


| <!-- [] call [[BIS_fnc_exportCuratorCostTable]]; --> |SYNTAX=
| <!-- [] call [[BIS_fnc_exportCuratorCostTable]]; -->


|p1= |PARAMETER1=
|p1=


| |RETURNVALUE=
|


|x1= <code></code> |EXAMPLE1=
|x1= <code></code>


| [[BIS_fnc_curatorObjectRegisteredTable]] |SEEALSO=
| [[BIS_fnc_curatorObjectRegisteredTable]]


}}
}}

Revision as of 00:00, 18 January 2021

Hover & click on the images for description

Description

Description:
/*

	Description:
	Generate spreadsheet with object classes and copy it to clipboard.
	The table will generate export code to be used in BIS_fnc_curatorObjectRegisteredTable

	Parameter(s):
		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.
		1 (Optional): STRING - format, can be "ods" or "xls"
		2 (Optional): STRING - name of sheet with cost calculation. When empty, the calculation will be inserted on top of the table
		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
		4 (Optional): CODE - condition for class to be listed. Config path to the class is passed as an argument (default: {true})
		5 (Optional): CODE - default cost, must return STRING. When empty string is returned, no default cost will be used (default: {""})

	Returns:
	BOOL
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Curator

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
BIS_fnc_curatorObjectRegisteredTable

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note


Bottom Section