Difference between revisions of "everyContainer"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| Returns array of all containers (uniforms, vests, backpacks) stored in given crate or vehicle. Used for accessing containers content stored in ammo box or ground holder. |= Description
+
| Returns array of all containers (uniforms, vests, backpacks) stored in given crate or vehicle. Used for accessing containers content stored in ammo box or ground holder. |DESCRIPTION=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''everyContainer''' box |= Syntax
+
| '''everyContainer''' box |SYNTAX=
  
|p1= box: [[Object]] |= Parameter 1
+
|p1= box: [[Object]] |PARAMETER1=
| [[Array]] |= RETURNVALUE
+
| [[Array]] |RETURNVALUE=  
  
  
Line 20: Line 20:
 
["V_PlateCarrier1_rgr",2bc06b00# 163955: dummyweapon.p3d],
 
["V_PlateCarrier1_rgr",2bc06b00# 163955: dummyweapon.p3d],
 
["U_B_CombatUniform_mcam",2bc07900# 163954: dummyweapon.p3d]
 
["U_B_CombatUniform_mcam",2bc07900# 163954: dummyweapon.p3d]
]</pre>|= EXAMPLE1
+
]</pre>|EXAMPLE1=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[everyBackpack]], [[uniformContainer]], [[vestContainer]], [[backpackContainer]] |= SEEALSO
+
| [[everyBackpack]], [[uniformContainer]], [[vestContainer]], [[backpackContainer]] |SEEALSO=  
  
|  |= MPBEHAVIOUR
+
|  |MPBEHAVIOUR=  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
}}
 
}}

Latest revision as of 15:39, 7 April 2019

Introduced with Arma 3 version 1.22
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.22

Description

Description:
Returns array of all containers (uniforms, vests, backpacks) stored in given crate or vehicle. Used for accessing containers content stored in ammo box or ground holder.

Syntax

Syntax:
everyContainer box
Parameters:
box: Object
Return Value:
Array

Examples

Example 1:
everyContainer cursorTarget;
[
	["V_PlateCarrier1_rgr",2bc06b00# 163955: dummyweapon.p3d],
	["U_B_CombatUniform_mcam",2bc07900# 163954: dummyweapon.p3d]
]

Additional Information

Multiplayer:
-
See also:
everyBackpackuniformContainervestContainerbackpackContainer

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

Posted on July 20, 2017 - 12:07 (UTC)
Yuval
The returned array is in the following format:
[ [containerClassname1, containerObject1], [containerClassname2, containerObject2], .... [containerClassnameN, containerObjectN] ] Please do note that typeOf containerObjectN does not return containerClassnameN but rather the containerClass configured in config (usually "supplyN")