addItemCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
(a3 args local)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Create new items and store them to the weapon holder. |= Description
| Create new items and store them to the weapon holder.  
 
{{Feature arma3|In Arma 3, arguments for this command must be local ({{EffArg|cmd|arg|loc}})}} |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:06, 23 November 2014

Hover & click on the images for description

Description

Description:
Create new items and store them to the weapon holder.
Arma 3
In Arma 3, arguments for this command must be local (Template:EffArg)
Groups:
Uncategorised

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

See also:
addItemCargoGlobalclearItemCargoaddMagazineCargoaddMagazineCargoGlobaladdWeaponCargoaddWeaponCargoGlobaladdBackpackCargoaddBackpackCargoGlobal

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section