Arma 3 Scripting

Command in Unit Inventory

loadUniform

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns current percentage of mass from items stored in a uniform relative to the maximum capacity of the uniform.

It is equivalent to this formula:

private _loadUniform = massOfAllItemsInUniform / getContainerMaxLoad uniform player;

Syntax

loadUniform unit

Parameters:

Returns: Number

Examples

Example 1

private _weight = loadUniform player;

See also

load · loadAbs · loadBackpack · loadVest · getMass · weightRTD · getContainerMaxLoad