weaponsItemsCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(moved to talk)
(see also)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


|Returns an array with subarrays contains class names and also names of connected items of all the vehicle's cargo weapons like <nowiki>[[</nowiki>'arifle_MX_ACO_pointer_F',<nowiki>''</nowiki>,'acc_pointer_IR','optic_Aco',['30Rnd_65x39_caseless_mag',29<nowiki>]</nowiki>,'bipod_01_F_blk'<nowiki>]]</nowiki>. |= Description
|Returns an array with subarrays contains class names and also names of connected items of all the vehicle's cargo weapons like <nowiki>[[</nowiki>'arifle_MX_ACO_pointer_F',<nowiki>''</nowiki>,'acc_pointer_IR','optic_Aco',['30Rnd_65x39_caseless_mag',29<nowiki>]</nowiki>,'bipod_01_F_blk'<nowiki>]]</nowiki>. If weapon has no magazine, an empty array [] is returned instead of magazine info. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[weaponsItems]] |= See also
| [[weaponsItems]], [[primaryWeaponItems]], [[secondaryWeaponItems]], [[handgunItems]], [[addPrimaryWeaponItem]], [[addSecondaryWeaponItem]], [[addHandgunItem]], [[primaryWeapon]], [[secondaryWeapon]], [[handgunWeapon]], [[weaponAccessories]]  |= See also


}}
}}

Revision as of 13:52, 11 September 2015

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 like [['arifle_MX_ACO_pointer_F','','acc_pointer_IR','optic_Aco',['30Rnd_65x39_caseless_mag',29],'bipod_01_F_blk']]. 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:
weaponsItemsprimaryWeaponItemssecondaryWeaponItemshandgunItemsaddPrimaryWeaponItemaddSecondaryWeaponItemaddHandgunItemprimaryWeaponsecondaryWeaponhandgunWeaponweaponAccessories

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