magazineCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ") |
||
Line 18: | Line 18: | ||
|x1= <code>[[hint]] [[str]] [[magazineCargo]] [[uniformContainer]] [[cursorTarget]];</code> | |x1= <code>[[hint]] [[str]] [[magazineCargo]] [[uniformContainer]] [[cursorTarget]];</code> | ||
|seealso= [[magazinesAmmoCargo]] | |seealso= [[magazinesAmmoCargo]] [[getMagazineCargo]], [[addMagazineCargo]], [[addMagazineCargoGlobal]], [[clearMagazineCargo]], [[clearMagazineCargoGlobal]] [[weaponCargo]], [[itemCargo]] | ||
}} | }} |
Revision as of 16:46, 20 January 2022
Description
- Description:
- Get array with magazines from ammo box (or any general weapon holder container).
- 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:
- magazinesAmmoCargo getMagazineCargoaddMagazineCargoaddMagazineCargoGlobalclearMagazineCargoclearMagazineCargoGlobal 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