loadBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (template:command argument fix)
Line 12: Line 12:
| '''loadBackpack''' unit |= Syntax
| '''loadBackpack''' unit |= Syntax


|p1= unit: [[Object]]  |= PARAMETER1
|p1= unit: [[Object]]  |PARAMETER1=  


| [[Number]] |= RETURNVALUE
| [[Number]] |RETURNVALUE=  




|x1= <code> myVariable = [[loadBackpack]] myUnit;
|x1= <code> myVariable = [[loadBackpack]] myUnit;
</code>|= EXAMPLE1
</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[load]], [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[removeBackpack]], [[clearBackpackCargo]], [[clearAllItemsFromBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]], [[loadUniform]], [[loadVest]], [[getMass]], [[weightRTD]], [[getContainerMaxLoad]] |= SEEALSO
| [[load]], [[backpackContainer]], [[firstBackpack]], [[unitBackpack]], [[backpack]], [[backpackCargo]], [[getBackpackCargo]], [[backpackItems]], [[addBackpack]], [[addBackpackCargo]], [[removeBackpack]], [[clearBackpackCargo]], [[clearAllItemsFromBackpack]], [[backpackSpaceFor]], [[canAddItemToBackpack]], [[addItemToBackpack]], [[removeItemFromBackpack]], [[everyBackpack]], [[loadUniform]], [[loadVest]], [[getMass]], [[weightRTD]], [[getContainerMaxLoad]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:35, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns current sum of mass from items stored in a backpack.
Groups:
Uncategorised

Syntax

Syntax:
loadBackpack unit
Parameters:
unit: Object
Return Value:
Number

Examples

Example 1:
myVariable = loadBackpack myUnit;

Additional Information

See also:
loadbackpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoremoveBackpackclearBackpackCargoclearAllItemsFromBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpackloadUniformloadVestgetMassweightRTDgetContainerMaxLoad

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