removeWeaponCargo (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.19
Description
- Description:
- Deletes the specified weapon from the cargo of a vehicle. Does nothing if the weapon isn't actually in vehicle's cargo.
Syntax
- Syntax:
- object removeWeaponCargo weaponclass
- Parameters:
- object: Object -
- weaponclass : String -
- Return Value:
- Nothing
Examples
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- removeMagazineCargo, removeMagazineCargoEx, removeMagazineEx, getWeaponCargo, getMagazineCargo, getMagazineCargoEx, magazinesEx

