CBA_fnc_addBinocularMagazine

Description

Adds a magazine to the units rangefinder.

Note that this breaks the unique magazine ids due to the usage of setUnitLoadout.

Parameters

_unitA unit <OBJECT>
_magazineThe magazine to add STRING
_ammoAmmo count of the magazine (optional, default: full magazine) <NUMBER>

Returns

None

Examples

player addWeapon "Laserdesignator";
[player, "Laserbatteries"] call CBA_fnc_addBinocularMagazine;

Author

commy2

string used by format
Close