uniformItems: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
mNo edit summary
 
Line 12: Line 12:
|p1= unit: [[Object]]
|p1= unit: [[Object]]


|r1= [[Array]]
|r1= [[Array]] of [[String]]s - Class names of items


|x1= <sqf>
|x1= <sqf>

Latest revision as of 12:13, 1 January 2026

Hover & click on the images for description

Description

Description:
Get array with all items (of any kind, even weapons) from uniform.
Groups:
Unit Inventory

Syntax

Syntax:
uniformItems unit
Parameters:
unit: Object
Return Value:
Array of Strings - Class names of items

Examples

Example 1:
uniformItems player; // returns e.g /* [ "FirstAidKit", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag" ] */

Additional Information

See also:
vestItems backpackItems

Notes

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