Hello, I am writing this because I noticed there is no way to add a weapon to cargo with the attachments you specify.
I thought a good workaround for this would be to simply add the weapon as the player's currently held weapon, add your attachments, then use the "action" command to "DropWeapon" or "PutWeapon". Two problems with that, however, you have to wait for the animation to finish each time, which is incredibly slow, and both Drop/PutWeapon crash my game when you try to drop a weapon into your own personal containers (ie, uniform,vest,backpack)(but that's an issue for another ticket)
I am requesting a new command for adding weapons, addWeaponWithAttachments. It should accept global arguments, and have global effects. The usage would be like this:
(container) addWeaponWithAttachments ["weapon", "muzzle_attachment", "side_attachment", "top_attachment", ["magazine_classname", amountOfBullets (amount is capped at magazine maximum)]];
The name is really long, but it's functional and explains what the command does, maybe you guys can think up a better name than me.
I noticed you guys have recently added addMagazineAmmoCargo, which I think is an amazing command and I'm making full use of it. Hopefully my new proposed command can make it also.