loadBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(See Also - added weight related commands, but there are clearly too many links here for see-also to be useful. trim suggestions?)
(first trim attempt - removed *global's, loadAbs. those expanded commands can be discovered via the root command.)
Line 22: Line 22:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 20:17, 23 August 2015

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:
loadbackpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoremoveBackpackclearBackpackCargoclearAllItemsFromBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpackloadUniformloadVestgetMassweightRTD

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