addMagazineGlobal: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 20: | Line 20: | ||
| unit [[addMagazineGlobal]] magazineName |SYNTAX= | | unit [[addMagazineGlobal]] magazineName |SYNTAX= | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= magazineName: [[String]] |= | |p2= magazineName: [[String]] |PARAMETER2= | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= |
Revision as of 14:27, 7 April 2019
Description
- Description:
- Adds a magazine to the unit. Note: You may create invalid combinations by adding more magazines than the free space in unit's inventory allows. When doing so, application behaviour is undefined.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit addMagazineGlobal magazineName
- Parameters:
- unit: Object
- magazineName: String
- Return Value:
- Nothing
Examples
- Example 1:
player addMagazineGlobal "30Rnd_65x39_caseless_mag";
Additional Information
- See also:
- addMagazineaddMagazinesaddMagazineCargoaddMagazineCargoGlobaladdMagazinePooladdMagazineTurretaddMagazineAmmoCargo
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