BIS fnc exportCfgPatches: 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 (Add links to comment now that this is possible)
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Diagnostic


|gr1= Diagnostic |GROUP1=
|descr= Export list of addons for Community Wiki - {{GameCategory|arma3|Assets|link= y}}.


|Export list of addons for Community Wiki - [[:Category:Arma 3: Assets|Arma 3: Assets]]. |Description=
|s1= [config, classes] call [[BIS_fnc_exportCfgPatches]]


| [config,classes] call [[BIS_fnc_exportCfgPatches]] |Syntax=
|p1= config: [[String]] - (Optional, default "CfgVehicles")


|p1=config: [[String]] - (Optional, default "CfgVehicles") |Parameter 1=
|p2= classes: [[Array]] of [[String]]s - list of {{hl|CfgPatches}} classes


|p2=classes: [[Array]] of [[String|strings]] - List of CfgPatches classes |Parameter 2=
|r1= [[Boolean]]


| [[Boolean]]|Return value=
|x1= <sqf>call BIS_fnc_exportCfgPatches;</sqf>


|x1= <code>[[call]] [[BIS_fnc_exportCfgPatches]];</code> |Example 1=
|x2= <sqf>
["CfgVehicles"] call BIS_fnc_exportCfgPatches; // exports [[Arma 3: CfgPatches CfgVehicles]]
["CfgWeapons"] call BIS_fnc_exportCfgPatches; // exports [[Arma 3: CfgPatches CfgWeapons]]
</sqf>


|x2= <code>["CfgVehicles"] [[call]] [[BIS_fnc_exportCfgPatches]]; {{cc|exports [[Arma 3 CfgPatches CfgVehicles]]}}
|seealso= [[BIS_fnc_exportFunctionsToWiki]] [[BIS_fnc_exportCfgWeapons]]
["CfgWeapons"] [[call]] [[BIS_fnc_exportCfgPatches]]; {{cc|exports [[Arma 3 CfgPatches CfgWeapons]]}}
</code> |Example 2=
 
| [[BIS_fnc_exportFunctionsToWiki]], [[BIS_fnc_exportCfgWeapons]] |See also=
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:exportCfgPatches}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:exportCfgPatches}}]]

Latest revision as of 18: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