BIS fnc exportCfgMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |s1=[" to " |s1= [")
m (Some wiki formatting)
Line 12: Line 12:
|s1= [classes] spawn [[BIS_fnc_exportCfgMagazines]]
|s1= [classes] spawn [[BIS_fnc_exportCfgMagazines]]


|p1= classes: [[Array]] of [[String]]s - (Optional, default {{ic|[]}}) list of [[CfgPatches]] classes
|p1= classes: [[Array]] of [[String]]s - (Optional, default <sqf inline>[]</sqf>) list of [[CfgPatches]] classes


|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <sqf>[] spawn BIS_fnc_exportCfgMagazines; // exports [[Arma 3 CfgMagazines]]</sqf>
|x1= exports [[Arma 3: CfgMagazines]]: <sqf>[] spawn BIS_fnc_exportCfgMagazines;</sqf>


|x2= <code>[<nowiki/>["class1", "class2"]] [[spawn]] [[BIS_fnc_exportCfgMagazines]];</code>
|x2= <sqf>[["class1", "class2"]] spawn BIS_fnc_exportCfgMagazines;</sqf>


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

Revision as of 14:59, 13 July 2022

Hover & click on the images for description

Description

Description:
Export list of magazines for Arma 3: Assets.
Execution:
spawn
Groups:
Diagnostic

Syntax

Syntax:
[classes] spawn BIS_fnc_exportCfgMagazines
Parameters:
classes: Array of Strings - (Optional, default []) list of CfgPatches classes
Return Value:
Boolean

Examples

Example 1:
exports Arma 3: CfgMagazines:
[] spawn BIS_fnc_exportCfgMagazines;
Example 2:
[["class1", "class2"]] spawn BIS_fnc_exportCfgMagazines;

Additional Information

See also:
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