---
name: "loadUniform"
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/loadUniform
revid: 320992
updated: 2022-05-13T10:22:04Z
---

# loadUniform

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

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

```sqf
private _loadUniform = massOfAllItemsInUniform / getContainerMaxLoad uniform player;
```

## Syntax

```sqf
loadUniform unit
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
private _weight = loadUniform player;
```

## See also

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

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