Add a scripting command that will allow mission developers to have control over putting weapons in a crate with optics, magazines/types already attached to the weapon.
Description
Description
Details
Details
- Legacy ID
- 218272094
- Severity
- None
- Resolution
- Duplicate
- Reproducibility
- Have Not Tried
- Category
- Scripting
Steps To Reproduce
container addWeaponItemsCargo
[
weaponType, muzzleItem, railItem, opticItem, [ magType1, magAmmo1 ], [ magType2, magAmmo2 ], ...
] // adds a cargo weapon with linked items and loaded mags, using an array in the style of a sub-array from "weaponsItems"