magazinesAmmoCargo vehicleName

Operand types

vehicleName: Object

Type of returned value

Description

Returns a nested array with the type names and ammo left of all the vehicle's cargo or container magazines.

Used In

Arma3

Example

magazinesAmmoCargo ammotruck1;
// using 'Hunter NATO' returns [["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["30Rnd_65x39_caseless_mag",30],["100Rnd_65x39_caseless_mag",100],["100Rnd_65x39_caseless_mag",100],["100Rnd_65x39_caseless_mag",100],["100Rnd_65x39_caseless_mag",100],["100Rnd_65x39_caseless_mag",100],["100Rnd_65x39_caseless_mag",100],["HandGrenade",1],["HandGrenade",1],["HandGrenade",1],["HandGrenade",1],["HandGrenade",1],["HandGrenade",1],["HandGrenade",1],["HandGrenade",1],["HandGrenade",1],["HandGrenade",1],["1Rnd_HE_Grenade_shell",1],["1Rnd_HE_Grenade_shell",1],["1Rnd_HE_Grenade_shell",1],["1Rnd_HE_Grenade_shell",1],["1Rnd_HE_Grenade_shell",1],["1Rnd_HE_Grenade_shell",1],["1Rnd_HE_Grenade_shell",1],["1Rnd_HE_Grenade_shell",1],["1Rnd_HE_Grenade_shell",1],["1Rnd_HE_Grenade_shell",1],["1Rnd_Smoke_Grenade_shell",1],["1Rnd_Smoke_Grenade_shell",1],["1Rnd_Smoke_Grenade_shell",1],["1Rnd_Smoke_Grenade_shell",1],["1Rnd_SmokeGreen_Grenade_shell",1],["1Rnd_SmokeGreen_Grenade_shell",1],["1Rnd_SmokeGreen_Grenade_shell",1],["1Rnd_SmokeGreen_Grenade_shell",1],["1Rnd_SmokeOrange_Grenade_shell",1],["1Rnd_SmokeOrange_Grenade_shell",1],["1Rnd_SmokeOrange_Grenade_shell",1],["1Rnd_SmokeOrange_Grenade_shell",1],["1Rnd_SmokeBlue_Grenade_shell",1],["1Rnd_SmokeBlue_Grenade_shell",1],["1Rnd_SmokeBlue_Grenade_shell",1],["1Rnd_SmokeBlue_Grenade_shell",1],["16Rnd_9x21_Mag",16],["16Rnd_9x21_Mag",16],["16Rnd_9x21_Mag",16],["16Rnd_9x21_Mag",16],["16Rnd_9x21_Mag",16],["16Rnd_9x21_Mag",16],["16Rnd_9x21_Mag",16],["16Rnd_9x21_Mag",16],["16Rnd_9x21_Mag",16],["16Rnd_9x21_Mag",16],["16Rnd_9x21_Mag",16],["16Rnd_9x21_Mag",16],["SmokeShell",1],["SmokeShell",1],["SmokeShell",1],["SmokeShell",1],["SmokeShellGreen",1],["SmokeShellGreen",1],["SmokeShellGreen",1],["SmokeShellGreen",1],["SmokeShellOrange",1],["SmokeShellOrange",1],["SmokeShellOrange",1],["SmokeShellOrange",1],["SmokeShellBlue",1],["SmokeShellBlue",1],["SmokeShellBlue",1],["SmokeShellBlue",1],["NLAW_F",1],["NLAW_F",1]]
Search OFPEC COMREF