loadBackpack: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
||
Line 4: | Line 4: | ||
| arma3 |Game name= | | arma3 |Game name= | ||
|0.50| | |0.50|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 03:51, 1 September 2019
Description
- Description:
- Returns current percentage of mass from items stored in a backpack relative to the maximum capacity of the backpack.
It is equivalent to this formula:_loadBackpack = massOfAllItemsInBackpack / getContainerMaxLoad backpack player;
- Groups:
- Uncategorised
Syntax
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