currentMagazineDetail
Jump to navigation
Jump to search
Description
- Description:
- Returns description of vehicle's currently loaded magazine, its ammo count (current/default) and its id.
- Groups:
- Unit InventoryVehicle Inventory
Syntax
- Syntax:
- currentMagazineDetail object
- Parameters:
- object: Object - unit or vehicle
- Return Value:
- String
Examples
- Example 1:
- Example 2:
- Example 3:
- _cmd = currentMagazineDetail player; // "9mm 16Rnd Mag(13/16)[id/cr:10000011/0]" _cmd splitString "([ ]/:)"; // ["9mm","16Rnd","Mag","13","16","id","cr","10000011","0"]
Additional Information
- See also:
- magazinesDetail currentMagazine
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