BIS fnc exportCfgMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] spawn ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
m (Fix)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
|version1= 1.00


|1.00
|gr1= Diagnostic


|gr1= Diagnostic
|exec= spawn


| 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= <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