backpackMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= * " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("serv...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|0.50|Game version=
|0.50


|gr1= Containers |GROUP1=
|gr1= Containers


|gr2= Unit Inventory |GROUP2=
|gr2= Unit Inventory


|  Get array with all magazines from backpack of the given unit. |DESCRIPTION=
|  Get array with all magazines from backpack of the given unit.


| '''backpackMagazines''' unit |SYNTAX=
| '''backpackMagazines''' unit


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


| [[Array]] |RETURNVALUE=
| [[Array]]




Line 22: Line 22:
<code>[
<code>[
"Titan AT Missile(1/1)[id/cr:16/0](2x)"
"Titan AT Missile(1/1)[id/cr:16/0](2x)"
]</code>|EXAMPLE1=
]</code>




| [[uniformMagazines]], [[vestMagazines]], [[soldierMagazines]] |SEEALSO=
| [[uniformMagazines]], [[vestMagazines]], [[soldierMagazines]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 01:02, 18 January 2021

Hover & click on the images for description

Description

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

Syntax

Syntax:
backpackMagazines unit
Parameters:
unit : Object
Return Value:
Array

Examples

Example 1:
backpackMagazines player;
[ "Titan AT Missile(1/1)[id/cr:16/0](2x)" ]

Additional Information

See also:
uniformMagazinesvestMagazinessoldierMagazines

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