BIS fnc exportCfgMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |s1=[" to " |s1= [")
m (Fix)
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
|exec= spawn
|exec= spawn


|descr= Export list of magazines for [[:Category:Arma 3: Assets|Arma 3: Assets]].
|descr= Export list of magazines for {{GameCategory|arma3|Reference Lists|text= {{arma3}} Assets}}.


|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= <sqf>[] spawn BIS_fnc_exportCfgMagazines; // exports [[Arma 3: CfgMagazines]]</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]]
}}
}}

Latest revision as of 18:45, 15 March 2024

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:
[] spawn BIS_fnc_exportCfgMagazines; // exports Arma 3: CfgMagazines
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