---
name: "loadVest"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/loadVest
revid: 323062
updated: 2022-06-28T21:43:11Z
---

# loadVest

*Command · Unit Inventory · Arma 3 v0.50*

## 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:

```sqf
_loadVest = massOfAllItemsInVest / getContainerMaxLoad vest player;
```

## Syntax

```sqf
loadVest unit
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
_weight = loadVest player;
```

## See also

[load](../commands/load.md) · [loadAbs](../commands/loadAbs.md) · [loadBackpack](../commands/loadBackpack.md) · [loadUniform](../commands/loadUniform.md) · [getMass](../commands/getMass.md) · [weightRTD](../commands/weightRTD.md) · [getContainerMaxLoad](../commands/getContainerMaxLoad.md)

<sub>Source: [BI Community Wiki — loadVest](https://community.bistudio.com/wiki/loadVest) (revision 323062).</sub>
