addItemToBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.04|= Game version ____________________...")
 
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Create new item and store it to soldier's backpack. |= Description
| Create new item and store it to soldier's backpack. The item can also be a a weapon or a magazine. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 17: Line 17:




|x1= <code>
|x1= <code>player addItemToBackpack "arifle_MXM_Hamr_pointer_F";
</code>|= EXAMPLE1  
</code>|= EXAMPLE1  
|x2=<code>player addItemToBackpack "itemGPS";
</code>|= EXAMPLE2


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[addItemToUniform]] [[addItemToVest]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 14:00, 11 October 2013

Hover & click on the images for description

Description

Description:
Create new item and store it to soldier's backpack. The item can also be a a weapon or a magazine.
Groups:
Uncategorised

Syntax

Syntax:
unit addItemToBackpack item
Parameters:
unit: Object
item: String
Return Value:
Nothing

Examples

Example 1:
player addItemToBackpack "arifle_MXM_Hamr_pointer_F";
Example 2:
player addItemToBackpack "itemGPS";

Additional Information

See also:
addItemToUniform addItemToVest

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