backpackItems: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(example & description)
(example)
Line 17: Line 17:




|x1= <code>backpackItems player;
|x1= <code>[[backpackItems]] [[player]];</code>
</code>|= EXAMPLE1  
<br/>
<code>[
"hgun_P07_F",
"Titan_AT"
]</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[uniformItems]], [[vestItems]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 11:55, 25 February 2014

Hover & click on the images for description

Description

Description:
Get array with all items (of any kind, even weapons) in backpack of the given unit.
Groups:
Uncategorised

Syntax

Syntax:
backpackItems unit
Parameters:
unit: Object
Return Value:
Array

Examples

Example 1:
backpackItems player;
[ "hgun_P07_F", "Titan_AT" ]

Additional Information

See also:
uniformItemsvestItems

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