addMagazines: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}") |
||
Line 46: | Line 46: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
{{GameCategory|arma3|New_Scripting_Commands_List}} | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 12:29, 5 January 2021
Description
- Description:
- Adds multiple magazines to the unit. For cargo containers use addMagazineCargoGlobal command.
- Groups:
- Unit Inventory
Syntax
- Syntax:
- unit addMagazines [magazineName, count]
- Parameters:
- unit: Object - a soldier
- [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:
- addMagazineGlobaladdMagazineaddMagazineCargoaddMagazineCargoGlobaladdMagazinePooladdMagazineTurretaddMagazineAmmoCargo
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