addMagazines: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) 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 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[addMagazineGlobal]], [[addMagazine]], [[addMagazine_array]], [[addMagazineCargo]], [[addMagazineCargoGlobal]], [[addMagazinePool]], [[addMagazineTurret]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 08:03, 20 September 2013
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