addMagazines: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Adds magazines to the unit.  |= Description
| Adds multiple magazines to the unit.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 23: Line 23:




|x1= <code>
|x1= <code>[[player]] [[addMagazines]] ["30Rnd_65x39_caseless_mag", 3];</code>|= EXAMPLE1  
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[addMagazineGlobal]], [[addMagazine]], [[addMagazine_array]], [[addMagazineCargo]], [[addMagazineCargoGlobal]], [[addMagazinePool]], [[addMagazineTurret]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 09:03, 20 September 2013

Hover & click on the images for description

Description

Description:
Adds multiple magazines to the unit.
Groups:
Uncategorised

Syntax

Syntax:
unit addMagazines [magazineName, count]
Parameters:
unit: Object
[magazineName, count]: Array
magazineName: String
count: Number - Number of magazines.
Return Value:
Nothing

Examples

Example 1:
player addMagazines ["30Rnd_65x39_caseless_mag", 3];

Additional Information

See also:
addMagazineGlobaladdMagazineaddMagazine_arrayaddMagazineCargoaddMagazineCargoGlobaladdMagazinePooladdMagazineTurret

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

Notes

Bottom Section