Warning: file_put_contents(/ff_c00b2627c8830037dfd3f48813035e01ea93ced6a6bf80e6.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
soldierMagazines - OFPEC Scripting Command Reference | OFPEC The Editing Center

soldierMagazines unitName

Operand types

unitName: Object

Type of returned value

Description

Get array with all magazines of the given unit.

Used In

Arma3

Example

soldierMagazines player;
//using NATO Rifleman returns
["6.5mm 30Rnd STANAG Mag(30/30)[id/cr:1/0](9x)",
"Chemlight (Green)(1/1)[id/cr:15/0](2x)",
"9mm 16Rnd Mag(16/16)[id/cr:11/0](2x)",
"Smoke Grenade (White)(1/1)[id/cr:13/0](1x)",
"Smoke Grenade (Green)(1/1)[id/cr:14/0](1x)",
"RGO Frag Grenade(1/1)[id/cr:17/0](2x)"]

Advertisement