BIS fnc exportCfgPatches: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{ *cc*\| *([^}]+) *\}\}" to "// $1")
m (Some wiki formatting)
Line 6: Line 6:
|gr1= Diagnostic
|gr1= Diagnostic


|descr=Export list of addons for Community Wiki - [[:Category:Arma 3: Assets|Arma 3: Assets]].
|descr= Export list of addons for Community Wiki - [[:Category:Arma 3: Assets|Arma 3: Assets]].


|s1= [config,classes] call [[BIS_fnc_exportCfgPatches]]
|s1= [config, classes] call [[BIS_fnc_exportCfgPatches]]


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


|p2=classes: [[Array]] of [[String|strings]] - List of CfgPatches classes
|p2= classes: [[Array]] of [[String|strings]] - List of CfgPatches classes


|r1= [[Boolean]]
|r1= [[Boolean]]
Line 18: Line 18:
|x1= <sqf>call BIS_fnc_exportCfgPatches;</sqf>
|x1= <sqf>call BIS_fnc_exportCfgPatches;</sqf>


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


|seealso= [[BIS_fnc_exportFunctionsToWiki]] [[BIS_fnc_exportCfgWeapons]]
|seealso= [[BIS_fnc_exportFunctionsToWiki]] [[BIS_fnc_exportCfgWeapons]]
}}
}}

Revision as of 12:42, 13 July 2022

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:
export Arma 3: CfgPatches CfgVehicles and Arma 3: CfgPatches CfgWeapons:
["CfgVehicles"] call BIS_fnc_exportCfgPatches; // Arma 3: CfgPatches CfgVehicles ["CfgWeapons"] call BIS_fnc_exportCfgPatches; // 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