Introduced in | |
Version: | 1.00 |
---|---|
Description | |
Description: | Add weapons to the cargo space of vehicles, which can be taken out by infantry units. Once the weapon cargo space is filled up, any further addWeaponCargo commands are ignored. |
Syntax | |
Syntax: | vehicle addWeaponCargo [weaponName, count, createObject] |
Parameters: |
|
Return Value: | Nothing |
Alternative Syntax | |
Syntax: | unit addWeaponCargo [weaponName, count, createObject] (V3.9+) |
Parameters: | |
Return Value: | Array - Array containing objects referencing new weapons. |
Alternative Syntax #2 | |
Syntax: | unit addWeaponCargo [weapon, count, createObject] (V3.9+) |
Parameters: | |
Return Value: | Array - Array containing objects referencing new weapons. |
Examples | |
Examples: | _truck addWeaponCargo ["vbs2_AKM",5] _weapons = crate addWeaponCargo ["vbs_ucs_colt_m4a1",2,true] |
Additional Information | |
See also: | addMagazineCargo, addWeaponCargoGlobal, clearMagazineCargo |
Multiplayer: | |
Problems: |
Overview
Content Tools