magazineCargo: Difference between revisions
Jump to navigation
Jump to search
Ilias38rus (talk | contribs) No edit summary |
mNo edit summary |
||
Line 5: | Line 5: | ||
|0.50|Game version= | |0.50|Game version= | ||
|gr1= Vehicle Inventory |GROUP1= | |||
|gr2= Weapons |GROUP2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 10: | Line 14: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''magazineCargo''' | | '''magazineCargo''' object |SYNTAX= | ||
|p1= | |p1= object: [[Object]] - Vehicle or ammo box |PARAMETER1= | ||
| [[Array]] - Format: ["MagType1","MagType1","MagType2"...] |RETURNVALUE= | | [[Array]] - Format: ["MagType1","MagType1","MagType2"...] |RETURNVALUE= |
Revision as of 12:43, 24 September 2020
Description
- Description:
- Get array with magazines from ammo box (or any general weapon holder container).
- Groups:
- Vehicle InventoryWeapons
Syntax
- Syntax:
- magazineCargo object
- Parameters:
- object: Object - Vehicle or ammo box
- Return Value:
- Array - Format: ["MagType1","MagType1","MagType2"...]
Examples
- Example 1:
hint str magazineCargo uniformContainer cursorTarget;
Additional Information
- See also:
- magazinesAmmoCargogetMagazineCargoaddMagazineCargoaddMagazineCargoGlobalclearMagazineCargoclearMagazineCargoGlobal weaponCargoitemCargo
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