items: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "|r1=$1 |x1=")
m (Text replacement - " +<\/code>" to "</code>")
Line 15: Line 15:
|r1= [[Array]]
|r1= [[Array]]


|x1= <code>_itemsPlayer <nowiki>=</nowiki> [[items]] [[player]]; </code>
|x1= <code>_itemsPlayer <nowiki>=</nowiki> [[items]] [[player]];</code>


|x2= <code>[[player]] [[sideChat]] [[format]] ["%1", [[items]] [[player]]];</code>
|x2= <code>[[player]] [[sideChat]] [[format]] ["%1", [[items]] [[player]]];</code>

Revision as of 22:48, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Inventory

Syntax

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

Examples

Example 1:
_itemsPlayer = items player;
Example 2:
player sideChat format ["%1", items player];

Additional Information

See also:
itemsWithMagazinesassignedItemsprimaryWeaponItemssecondaryWeaponItems

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