Arma 3 Scripting

loadVest

  • Arma 3 v0.50

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