Arma 3 Scripting

weaponAccessoriesCargo

  • Arma 3 v1.22

Command · also in Containers, Unit Inventory · Markdown · JSON · original wiki page

Description

Returns array with all items assigned to the given weapon in given cargo container.

Warning

This is unofficial documentation. All Information here is as it exists in the Engine. It might not reflect the reality.

Syntax

container weaponAccessoriesCargo [weaponId, creatorId]

Parameters:

Returns: Array - [silencer, laserpointer/flashlight, optics, bipod]

Examples

Example 1

See also

weaponAccessories · primaryWeaponItems · handgunItems · secondaryWeaponItems · weaponsItems · weaponsItemsCargo · removeWeaponAttachmentCargo · removeWeaponCargo