addItemCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(a3 args local)
(locality)
Line 3: Line 3:


| arma3 |= Game name
| arma3 |= Game name
|arg= local |= Arguments in MP
|eff= local |= Effects in MP


|0.50|= Game version
|0.50|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


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


Line 25: Line 27:




|x1= <pre>rearmTruckOne addItemCargo [&quot;optic_ARCO&quot;, 10]</pre> |= EXAMPLE1  
|x1= <code>rearmTruckOne [[addItemCargo]] ["optic_ARCO", 10]</code> |= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 12:11, 23 November 2014

Hover & click on the images for description

Description

Description:
Create new items and put them in the local weapon holder. For global variant see addItemCargoGlobal
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