weaponsItemsCargo

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.22
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.22

Description

Description:
Returns an array with subarrays contains class names and also names of connected items of all the vehicle's cargo weapons in weaponsItems format. If weapon has no magazine, an empty array [] is returned instead of magazine info.

Syntax

Syntax:
weaponsItemsCargo vehicle
Parameters:
vehicle: Object
Return Value:
Array

Examples

Example 1:
weaponsItemsCargo vehicle player;
Example 2:
weaponsItemsCargo _weaponholder;

Additional Information

Multiplayer:
-
See also:
weaponsItemsprimaryWeaponItemssecondaryWeaponItemshandgunItemsaddPrimaryWeaponItemaddSecondaryWeaponItemaddHandgunItemprimaryWeaponsecondaryWeaponhandgunWeaponweaponAccessoriesweaponAccessoriesCargo

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section