BIS fnc exportCfgMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ")
m (Fix)
 
(8 intermediate revisions by the same user not shown)
Line 6: Line 6:
|gr1= Diagnostic
|gr1= Diagnostic


|descr= Export list of magazines for [[:Category:Arma 3: Assets|Arma 3: Assets]].
|exec= spawn


|s1=[classes] spawn [[BIS_fnc_exportCfgMagazines]]
|descr= Export list of magazines for {{GameCategory|arma3|Reference Lists|text= {{arma3}} Assets}}.


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


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


|x1= <code>[] [[spawn]] [[BIS_fnc_exportCfgMagazines]]; {{cc|exports [[Arma 3 CfgMagazines]]}}</code>
|x1= <sqf>[] spawn BIS_fnc_exportCfgMagazines; // exports [[Arma 3: CfgMagazines]]</sqf>
 
|x2= <code>[<nowiki/>["class1", "class2"]] [[spawn]] [[BIS_fnc_exportCfgMagazines]];</code>


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


|exec= spawn |Exec type=
|seealso= [[BIS_fnc_exportCfgWeapons]]
}}
}}

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