{"name":"removeWeaponAttachmentCargo","operator":null,"title":"removeWeaponAttachmentCargo","type":"command","url":"https://community.bistudio.com/wiki/removeWeaponAttachmentCargo","revid":352122,"updated":"2024-02-01T23:25:04Z","groups":["Vehicle Inventory"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.22"}],"since":{"game":"arma3","name":"Arma 3","version":"1.22"},"arma3_since":"1.22","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"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]","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":"vehicle or ammo box","types":["Object"],"since":null,"text":"object: Object - vehicle or ammo box"},{"name":"weaponID","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"weaponID: Number"},{"name":"creatorID","type":"Number","optional":false,"default":null,"description":null,"types":["Number"],"since":null,"text":"creatorID: Number"},{"name":"attachment","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"attachment: String"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"object","types":["Object"]},"right":{"text":"[weaponID,creatorID,attachment]","types":["Array"]}}],"examples":[{"text":"```sqf\nrearmTruckOne removeWeaponAttachmentCargo [weaponID, creatorID, \"attachment\"];\n```","code":["rearmTruckOne removeWeaponAttachmentCargo [weaponID, creatorID, \"attachment\"];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["removeWeaponCargo","weaponAccessoriesCargo"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Vehicle Inventory","Introduced with Arma 3 version 1.22","Scripting Commands"]}