getMagazineCargoEx (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.19
Description
- Description:
- Returns an array of the magazines in the vehicle/unit's cargo, along with their bullet counts.
Syntax
- Syntax:
- getMagazineCargoEx object
- Parameters:
- object: Object -
- Return Value:
- Array - [["classname", [bulletCount, bulletCount, bulletCount...]],["classname", [bulletCount,...],...]
Examples
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- removeWeaponCargo, removeMagazineCargo, removeMagazineCargoEx, removeMagazineEx, getWeaponCargo, getMagazineCargo, magazinesEx

