weaponsItemsCargo

From Bohemia Interactive Community
Revision as of 04:13, 22 August 2015 by Benargee (talk | contribs) (Undo revision 91406 by IT07 (talk) Array is not replaced by empty string. String was always there. First array has 6 elements. Second array (after mag removed) only has 5.)
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 like [['arifle_MX_ACO_pointer_F','','acc_pointer_IR','optic_Aco',['30Rnd_65x39_caseless_mag',29],'bipod_01_F_blk']].
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:
weaponsItems

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

Posted on March 16, 2015 - 12:13 (UTC)
Jezuro
Since revision 129742, this command also returns an attached bipod.