weaponsItemsCargo

From Bohemia Interactive Community
Revision as of 15:51, 7 April 2019 by Erentar (talk | contribs) (template:command argument fix)
Jump to navigation Jump to search
Hover & click on the images for description

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.
Groups:
Uncategorised

Syntax

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

Examples

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

Additional Information

See also:
weaponsItemsprimaryWeaponItemssecondaryWeaponItemshandgunItemsaddPrimaryWeaponItemaddSecondaryWeaponItemaddHandgunItemprimaryWeaponsecondaryWeaponhandgunWeaponweaponAccessoriesweaponAccessoriesCargo

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

Notes

Bottom Section