Arma 3 Scripting

loadUniform

  • Arma 3 v0.50

Command · Markdown · JSON · 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