{"name":"removeWeaponAttachmentCargo","title":"removeWeaponAttachmentCargo","type":"command","url":"https://community.bistudio.com/wiki/removeWeaponAttachmentCargo","revid":352122,"updated":"2024-02-01T23:25:04Z","groups":["Vehicle Inventory"],"status":"ok","games":{"arma3":"1.22"},"since":"arma3 1.22","arma3_since":"1.22","description":"Remove attachment linked to a weapon from the vehicle cargo space.\n\n> [!WARNING]\n> This is unofficial documentation. All Information here is as it exists in the Engine. It might not reflect the reality.","syntaxes":[{"syntax":"object removeWeaponAttachmentCargo [weaponID,creatorID,attachment]","params":[{"name":"object","type":"Object","description":"vehicle or ammo box","type_expr":"Object"},{"name":"weaponID","type":"Number","type_expr":"Number"},{"name":"creatorID","type":"Number","type_expr":"Number"},{"name":"attachment","type":"String","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"object"},"right":{"text":"[weaponID,creatorID,attachment]"}}],"examples":[{"code":["rearmTruckOne removeWeaponAttachmentCargo [weaponID, creatorID, \"attachment\"];"]}],"see_also":["removeWeaponCargo","weaponAccessoriesCargo"]}