Difference between revisions of "uniformContainer"

From Bohemia Interactive Community
Jump to navigation Jump to search
(obsolete link)
m (template:command argument fix)
Line 12: Line 12:
 
| '''uniformContainer''' unit |= Syntax
 
| '''uniformContainer''' unit |= Syntax
  
|p1= unit: [[Object]] - a soldier  |= PARAMETER1
+
|p1= unit: [[Object]] - a soldier  |PARAMETER1=  
  
| [[Object]] - cargo container or <NULL-object>  |= RETURNVALUE
+
| [[Object]] - cargo container or <NULL-object>  |RETURNVALUE=  
  
  
 
|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>
Line 25: Line 25:
 
["30Rnd_65x39_caseless_mag"],
 
["30Rnd_65x39_caseless_mag"],
 
[3]
 
[3]
]</pre>|= EXAMPLE2
+
]</pre>|EXAMPLE2=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[vestContainer]], [[backpackContainer]], [[everyContainer]]|= SEEALSO
+
| [[vestContainer]], [[backpackContainer]], [[everyContainer]]|SEEALSO=  
  
|  |= MPBEHAVIOUR
+
|  |MPBEHAVIOUR=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}

Revision as of 10:38, 7 April 2019

Introduced with Arma 3 version 1.04
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.04

Description

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

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

Multiplayer:
-
See also:
vestContainerbackpackContainereveryContainer

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section