Arma 3 Scripting

Command in Unit Inventory

loadVest

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

Description

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

It is equivalent to this formula:

_loadVest = massOfAllItemsInVest / getContainerMaxLoad vest player;

Syntax

loadVest unit

Parameters:

Returns: Number

Examples

Example 1

_weight = loadVest player;

See also

load · loadAbs · loadBackpack · loadUniform · getMass · weightRTD · getContainerMaxLoad