everyBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ")
Line 25: Line 25:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on Apr 29, 2014 - 17:09</dd>
<dd class="notedate">Posted on Apr 29, 2014 - 17:09</dd>
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]
<dt class="note">[[User:ffur2007slx2_5|ffur2007slx2_5]]</dt>
<dd class="note">
<dd class="note">
(ArmA3 ver 1.16), here's a quick reference to backpack command family.
(ArmA3 ver 1.16), here's a quick reference to backpack command family.

Revision as of 02:24, 30 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Containers

Syntax

Syntax:
Syntax needed
Parameters:
box: Object
Return Value:
Return value needed

Examples

Example 1:
everyBackpack cursorTarget;
Example 2:
_vehicleBackpacks = everyBackpack vehicle player;

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 - 17:09
ffur2007slx2_5
(ArmA3 ver 1.16), here's a quick reference to backpack command family.
Command Operand type Return Example
firstBackpack Object(WeaponHolder, AmmoCrate, VehicleCrate) Object(eg 2bba9d00# 163957: backpack_compact.p3d) firstBackpack (getPos player nearestObject "weaponholder")
backpackContainer Unit(Object) Object(eg 2bba9d00# 163957: backpack_compact.p3d) backpackContainer player //Currently same as unitBackpack
unitBackpack Unit(Object) Object(eg 2bba9d00# 163957: backpack_compact.p3d) unitBackpack player //Currently same as backpackContainer
backpack Unit(Object) String(eg 2bba9d00# 163957: backpack_compact.p3d) backpack player //See also (typeOf backpackContainer player) or (typeOf unitBackpack player)
backpackCargo Object(WeaponHolder, AmmoCrate, VehicleCrate) Array of String(eg ["Backpack0","Backpack1"]) backpackCargo _AmmoCrate
getBackpackCargo Object(WeaponHolder, AmmoCrate, VehicleCrate) Array of Array(eg [["Backpack0","Backpack1"],[1,1]]) getBackpackCargo _AmmoCrate
everyBackpack Object(WeaponHolder, AmmoCrate, VehicleCrate) Array of Object(eg [22504f00# 163960: backpack_fast.p3d...]) everyBackpack _AmmoCrate