magazinesDetailBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
(alt syntax)
Line 14: Line 14:
|p1= unit: [[Object]] |PARAMETER1=
|p1= unit: [[Object]] |PARAMETER1=
| [[Array]] |RETURNVALUE=  
| [[Array]] |RETURNVALUE=  
| s2= [[magazinesDetailBackpack]] [unit, includeEmpty]        (Since Arma 3 v1.99.146475)|SYNTAX2=
|p21= [unit, includeEmpty]: [[Array]]  |PARAMETER21=
|p22= unit: [[Object]] - unit  |PARAMETER22=
|p23= includeEmpty (Optional): [[Boolean]] - [[true]] to include empty magazines. Default: [[false]]  |PARAMETER23=
| r2=[[Array]] |RETURNVALUE2=




Line 21: Line 29:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |SEEALSO=  
| [[magazinesDetail]], [[magazinesDetailUniform]], [[magazinesDetailVest]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 23:25, 28 June 2020

Hover & click on the images for description

Description

Description:
Returns an array with the type names of all the unit's backpack magazines.
Groups:
Uncategorised

Syntax

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

Alternative Syntax

Syntax:
magazinesDetailBackpack [unit, includeEmpty]        (Since Arma 3 v1.99.146475)
Parameters:
[unit, includeEmpty]: Array
unit: Object - unit
includeEmpty (Optional): Boolean - true to include empty magazines. Default: false
Return Value:
Array

Examples

Example 1:
magazinesDetailBackpack player

Additional Information

See also:
magazinesDetailmagazinesDetailUniformmagazinesDetailVest

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