uniformContainer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[\[[a-zA-Z0-9]+\]\][^ ]+) *\|x1=" to " |r1= $1 |x1=")
Line 15: Line 15:
|p1= unit: [[Object]] - a soldier
|p1= unit: [[Object]] - a soldier


| [[Object]] - cargo container or <NULL-object>
|r1= [[Object]] - cargo container or <NULL-object>


|x1= <code>[[hint]] [[str]] [[uniformContainer]] [[player]]; //2df7dd00# 163941: dummyweapon.p3d</code>
|x1= <code>[[hint]] [[str]] [[uniformContainer]] [[player]]; //2df7dd00# 163941: dummyweapon.p3d</code>

Revision as of 14:21, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
ContainersUnit Inventory

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object - a soldier
Return Value:
Object - cargo container or <NULL-object>

Examples

Example 1:
hint str uniformContainer player; //2df7dd00# 163941: dummyweapon.p3d
Example 2:
hint str getMagazineCargo uniformContainer player;
[
	["30Rnd_65x39_caseless_mag"],
	[3]
]

Additional Information

See also:
vestContainerbackpackContainereveryContainer

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