loadBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added example)
No edit summary
Line 17: Line 17:




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



Revision as of 23:46, 5 May 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:
backpackContainerfirstBackpackunitBackpackbackpackbackpackCargogetBackpackCargobackpackItemsaddBackpackaddBackpackCargoaddBackpackCargoGlobalremoveBackpackclearBackpackCargoclearBackpackCargoGlobalclearAllItemsFromBackpackbackpackSpaceForcanAddItemToBackpackaddItemToBackpackremoveItemFromBackpackeveryBackpack

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