everyContainer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "<dl class="command_description"> <dd class="notedate">" to "<dl class="command_description"> <dt></dt> <dd class="notedate">")
Line 25: Line 25:
<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->
<dl class="command_description">
<dl class="command_description">
<dt></dt>
<dd class="notedate">Posted on July 20, 2017 - 12:07 (UTC)</dd>
<dd class="notedate">Posted on July 20, 2017 - 12:07 (UTC)</dd>
<dt class="note">[[User:Yuval|Yuval]]</dt>
<dt class="note">[[User:Yuval|Yuval]]</dt>

Revision as of 14:30, 5 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Vehicle Inventory

Syntax

Syntax:
Syntax needed
Parameters:
object: Object - Vehicle or ammo box
Return Value:
Return value needed

Examples

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

Additional Information

See also:
everyBackpackuniformContainervestContainerbackpackContainer

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
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")