weaponsItemsCargo
Jump to navigation
Jump to search
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
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.
- Posted on August 21, 2015 - 10:42 (UTC)
- IT07
-
(ArmA 1.50) This command is sort-of bugged: if no magazine is present in the gun, it will not be available at all in the ARRAY. I expect it to be an empty STRING instead. Example
["weapon_className","silencer","laser/light","scope",["magClassName",30],""] // With mag in gun
["weapon_className","silencer","laser/light","scope",""] // Without mag in gun