BIS fnc exportCfgMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix examples)
m (Fix)
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Diagnostic
____________________________________________________________________________________________


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


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


|p1= classes: [[Array]] of [[String]]s - (Optional, default {{Inline code|[]}}) list of [[CfgPatches]] classes |PARAMETER1=
|s1= [classes] spawn [[BIS_fnc_exportCfgMagazines]]


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


|x1= <code>[] [[spawn]] [[BIS_fnc_exportCfgMagazines]]; {{cc|exports [[Arma 3 CfgMagazines]]}}</code> |EXAMPLE1=
|r1= [[Boolean]]


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


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


|exec= spawn |Exec type=
|seealso= [[BIS_fnc_exportCfgWeapons]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Diagnostic|{{uc:exportCfgMagazines}}]]

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