uniformMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.12|= Game version _________________...")
 
m (Some wiki formatting)
 
(35 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 0.50


|1.12|= Game version
|gr1= Containers
____________________________________________________________________________________________


| Get array with all magazines from uniform of the given unit. |= Description
|gr2= Unit Inventory
____________________________________________________________________________________________


| '''uniformMagazines''' unit |= Syntax
|descr= Get array with all magazines from uniform of the given unit.


|p1= unit : [[Object]] |=
|s1= [[uniformMagazines]] unit


| [[Array]] |= RETURNVALUE
|p1= unit: [[Object]]


|r1= [[Array]] of [[String]]


|x1= <code>uniformMagazines player;</code>|= EXAMPLE1
|x1= <sqf>
uniformMagazines player;
// returns e.g
/*
[
"6.5mm 30Rnd STANAG Mag(30/30)[id/cr:1/0](3x)"
]
*/
</sqf>


____________________________________________________________________________________________
|seealso= [[vestMagazines]] [[backpackMagazines]] [[soldierMagazines]]
 
|  |= SEEALSO
 
|= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<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:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:55, 14 May 2022

Hover & click on the images for description

Description

Description:
Get array with all magazines from uniform of the given unit.
Groups:
ContainersUnit Inventory

Syntax

Syntax:
uniformMagazines unit
Parameters:
unit: Object
Return Value:
Array of String

Examples

Example 1:
uniformMagazines player; // returns e.g /* [ "6.5mm 30Rnd STANAG Mag(30/30)[id/cr:1/0](3x)" ] */

Additional Information

See also:
vestMagazines backpackMagazines soldierMagazines

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