magazinesDetailUniform: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
(alt syntax)
Line 14: Line 14:
|p1= unit: [[Object]] |PARAMETER1=
|p1= unit: [[Object]] |PARAMETER1=
| [[Array]] |RETURNVALUE=  
| [[Array]] |RETURNVALUE=  
| s2= [[magazinesAmmo]] [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=





Revision as of 22:21, 28 June 2020

Hover & click on the images for description

Description

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

Syntax

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

Alternative Syntax

Syntax:
magazinesAmmo [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:
magazinesDetailUniform player

Additional Information

See also:
See also needed

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