Page MenuHomeFeedback Tracker

Scripting Command to add a Weapon to a container with related data
Closed, ResolvedPublic

Description

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.

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"

Event Timeline

Deathlyrage edited Additional Information. (Show Details)
Deathlyrage set Category to Scripting.
Deathlyrage set Reproducibility to Have Not Tried.
Deathlyrage set Severity to None.
Deathlyrage set Resolution to Duplicate.
Deathlyrage set Legacy ID to 218272094.May 7 2016, 7:22 PM

Duplicate of #20583