BIS fnc exportCfgMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|x1= <code></code> |= " to "|x1= <code></code> |EXAMPLE1=")
(Add description and see also)
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Export list of magazines for [[:Category:Arma 3: Assets|Arma 3: Assets]]. |DESCRIPTION=
 
____________________________________________________________________________________________
Description:
Export list of addons for Community Wiki
http://community.bistudio.com/wiki/Category:Arma_3:_Assets


Parameter(s):
| [classes] spawn [[BIS_fnc_exportCfgMagazines]] |SYNTAX=
0: ARRAY of STRINGs - list of CfgPatches classes


Returns:
|p1= classes: [[Array]] of [[String]]s - (Optional, default {{Inline code|[]}}) list of [[CfgPatches]] classes |PARAMETER1=
BOOL
*/


 
| [[Boolean]] |RETURNVALUE=
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_exportCfgMagazines]]; --> |SYNTAX=
|x1= <code>[] [[spawn]] [[BIS_fnc_exportCfgWeapons]]; {{cc|exports [[Arma 3 CfgMagazines]]}}</code> |EXAMPLE1=
 
|p1= |PARAMETER1=
 
| |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code></code> |EXAMPLE1=
|x2= <code>[<nowiki/>["class1", "class2"]] [[spawn]] [[BIS_fnc_exportCfgWeapons]];</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |SEEALSO=
| [[BIS_fnc_exportCfgWeapons]] |SEEALSO=


|exec= spawn |Exec type=
}}
}}



Revision as of 00:01, 20 December 2019

Hover & click on the images for description

Description

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

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_exportCfgWeapons; // exports Arma 3 CfgMagazines
Example 2:
[["class1", "class2"]] spawn BIS_fnc_exportCfgWeapons;

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

Notes

Bottom Section