addItemCargo

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Create new items and put them in the local weapon holder. For global variant see addItemCargoGlobal

Syntax

Syntax:
unit addItemCargo [item, count]
Parameters:
unit: Object
[item, count]: Array
item: String
count: Number
Return Value:
Nothing

Examples

Example 1:
rearmTruckOne addItemCargo ["optic_ARCO", 10]

Additional Information

Multiplayer:
-
See also:
addItemCargoGlobalclearItemCargoaddMagazineCargoaddMagazineCargoGlobaladdWeaponCargoaddWeaponCargoGlobaladdBackpackCargoaddBackpackCargoGlobal

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section