uniformContainer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (command group: Containers)
Line 5: Line 5:


|1.04|Game version=
|1.04|Game version=
|gr1= Containers |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 10: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''uniformContainer''' unit |SYNTAX=
| [[uniformContainer]] unit |SYNTAX=


|p1= unit: [[Object]] - a soldier  |PARAMETER1=  
|p1= unit: [[Object]] - a soldier  |PARAMETER1=  
Line 17: Line 19:




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


|x2= <code>[[hint]] [[str]] [[getMagazineCargo]] [[uniformContainer]] [[player]];</code>
|x2= <code>[[hint]] [[str]] [[getMagazineCargo]] [[uniformContainer]] [[player]];</code>

Revision as of 13:03, 9 September 2020

Hover & click on the images for description

Description

Description:
Returns a cargo container of a unit's uniform.
Groups:
Containers

Syntax

Syntax:
uniformContainer unit
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

Notes

Bottom Section