backpackContainer: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (see also)
Line 37: Line 37:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[unitBackpack]], [[firstBackpack]], [[everyBackpack]], [[uniformContainer]], [[vestContainer]] |= SEEALSO  
| [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[addBackpackCargoGlobal]], [[removeBackpack]], [[clearBackpackCargo]], [[clearBackpackCargoGlobal]], [[clearAllItemsFromBackpack]], [[loadBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
Line 46: Line 46:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 11:46, 27 April 2014

Hover & click on the images for description

Description

Description:
Returns a cargo container of a unit's backpack.
Groups:
Uncategorised

Syntax

Syntax:
backpackContainer unit
Parameters:
unit: Object - a soldier
Return Value:
Object - cargo container or <NULL-object>

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 ] ]

Additional Information

See also:
firstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackloadBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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

Notes

Bottom Section