load: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...)
m (Text replacement - "(\| * )+\}\}" to "}}")
Line 22: Line 22:
| [[loadAbs]], [[loadBackpack]], [[loadUniform]], [[loadVest]], [[getMass]], [[weightRTD]], [[getContainerMaxLoad]]
| [[loadAbs]], [[loadBackpack]], [[loadUniform]], [[loadVest]], [[getMass]], [[weightRTD]], [[getContainerMaxLoad]]


|
}}
}}



Revision as of 16:40, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns current sum of mass from items stored in all unit's containers. Load is calculated by the following formula: _loadPlayer = loadAbs player / getNumber (configFile >> "CfgInventoryGlobalVariable" >> "maxSoldierLoad");
Groups:
Unit Inventory

Syntax

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

Examples

Example 1:
load player;

Additional Information

See also:
loadAbsloadBackpackloadUniformloadVestgetMassweightRTDgetContainerMaxLoad

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