Description
Returns an array of strings with description of all vehicle's magazines, their ammo count (current/default) and their ids for the primary gunner.
When applied to a unit (soldier), the command behaves differently and will omit magazines already loaded into unit's weapons. Use currentMagazineDetail to get this information for a currently loaded magazine.
Syntax
Syntax 1
magazinesDetail vehicle
Parameters:
vehicle: Object - unit or vehicle
Returns: Array of Strings
Syntax 2
since arma3 2.00
magazinesDetail [vehicle, includeEmpty, includeLoaded]
Parameters:
vehicle: Object - unit or vehicle
includeEmpty: Boolean - (Optional, default false) true to include empty magazines
includeLoaded: Boolean - (Optional, default false) true to include magazines loaded in weapons (Since Arma 3 v2.07.148195)
Returns: Array of Strings
Examples
Example 1
_magazinesDetail = magazinesDetail player;
Example 2
_magazinesDetail = magazinesDetail Mi_48;
See also
currentMagazineDetail · magazines · magazinesTurret · magazinesAmmo · magazinesAmmoFull · magazinesDetailUniform · magazinesDetailVest · magazinesDetailBackpack