backpackContainer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ")
m (Text replacement - "ArmA3" to "{{arma3}}")
Line 43: Line 43:
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<dd class="note">
<dd class="note">
In ArmA3 ver 1.16, we can use either [[backpackContainer]] or [[unitBackpack]] at present since both of them enjoy same operand type and return value.
In {{arma3}} ver 1.16, we can use either [[backpackContainer]] or [[unitBackpack]] at present since both of them enjoy same operand type and return value.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 17:12, 31 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Containers

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object - a soldier
Return Value:
Return value needed

Examples

Example 1:
hint str backpackContainer player; // 1a5f7900# 163944: backpack_fast.p3d
Example 2:
hint str getMagazineCargo backpackContainer player;
[
	[
		"APERSBoundingMine_Range_Mag",
		"ClaymoreDirectionalMine_Remote_Mag",
		"SLAMDirectionalMine_Wire_Mag",
		"DemoCharge_Remote_Mag"
	],[
		3,
		2,
		2,
		1
	]
]
Example 3:
(backpackContainer player) addWeaponCargoGlobal [weapons player select 0,1];

Additional Information

See also:
See also needed

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 Apr 29, 2014 - 15:19
ffur2007slx2_5
In Arma 3 ver 1.16, we can use either backpackContainer or unitBackpack at present since both of them enjoy same operand type and return value.