addMagazineGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Removed broken commands group)
m (Commands group update)
Line 8: Line 8:


|eff= global
|eff= global
|gr1= Unit Inventory


| Adds magazine to a unit regardless of locality. This command can also be used to add magazine to a vehicle, like a static gun, for example.
| Adds magazine to a unit regardless of locality. This command can also be used to add magazine to a vehicle, like a static gun, for example.

Revision as of 12:11, 19 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Multiplayer:
Before Arma 3 v2.00 this command was broken in MP and duplicated items per the number of clients.
Groups:
Unit Inventory

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
magazineName: String
Return Value:
Return value needed

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