magazineCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 11: | Line 11: | ||
| Get array with magazines from ammo box (or any general weapon holder container). | | Get array with magazines from ammo box (or any general weapon holder container). | ||
| '''magazineCargo''' object | |s1= '''magazineCargo''' object | ||
|p1= object: [[Object]] - Vehicle or ammo box | |p1= object: [[Object]] - Vehicle or ammo box |
Revision as of 23:12, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- Vehicle InventoryContainers
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