BIS fnc exportCfgPatches: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Add links to comment now that this is possible)
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Diagnostic


|1.00|= Game version
|descr= Export list of addons for Community Wiki - {{GameCategory|arma3|Assets|link= y}}.
____________________________________________________________________________________________


| <pre>/*
|s1= [config, classes] call [[BIS_fnc_exportCfgPatches]]


Description:
|p1= config: [[String]] - (Optional, default "CfgVehicles")
Export list of addons for Community Wiki
http://community.bistudio.com/wiki/Category:Arma_3:_Assets


Parameter(s):
|p2= classes: [[Array]] of [[String]]s - list of {{hl|CfgPatches}} classes
0: ARRAY of STRINGs - list of CfgPatches classes


Returns:
|r1= [[Boolean]]
BOOL
*/


|x1= <sqf>call BIS_fnc_exportCfgPatches;</sqf>


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x2= <sqf>
____________________________________________________________________________________________
["CfgVehicles"] call BIS_fnc_exportCfgPatches; // exports [[Arma 3: CfgPatches CfgVehicles]]
 
["CfgWeapons"] call BIS_fnc_exportCfgPatches; // exports [[Arma 3: CfgPatches CfgWeapons]]
| <!-- [] call [[BIS_fnc_exportCfgPatches]]; --> |= Syntax
</sqf>
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[BIS_fnc_exportFunctionsToWiki]] [[BIS_fnc_exportCfgWeapons]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Diagnostic|{{uc:exportCfgPatches}}]]
[[Category:Functions|{{uc:exportCfgPatches}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:exportCfgPatches}}]]

Latest revision as of 17:37, 15 March 2024

Hover & click on the images for description

Description

Description:
Export list of addons for Community Wiki - Arma 3: Assets.
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
[config, classes] call BIS_fnc_exportCfgPatches
Parameters:
config: String - (Optional, default "CfgVehicles")
classes: Array of Strings - list of CfgPatches classes
Return Value:
Boolean

Examples

Example 1:
call BIS_fnc_exportCfgPatches;
Example 2:
["CfgVehicles"] call BIS_fnc_exportCfgPatches; // exports Arma 3: CfgPatches CfgVehicles ["CfgWeapons"] call BIS_fnc_exportCfgPatches; // exports Arma 3: CfgPatches CfgWeapons

Additional Information

See also:
BIS_fnc_exportFunctionsToWiki BIS_fnc_exportCfgWeapons

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