---
name: "nearSupplies"
type: command
status: ok
groups: ["Object Detection"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/nearSupplies
revid: 377405
updated: 2026-01-02T06:45:03Z
---

# nearSupplies

*Command · Object Detection · Arma 3 v0.50*

## Description

Find supplies (weapon holders, ammo crates, fuel feeds, other units) in the sphere with given radius.

## Syntax

### Syntax 1

```sqf
origin nearSupplies radius
```

**Parameters:**

- `origin`: [Object](../topics/Object.md) or [PositionAGL](../topics/Position.md#positionagl) or [Position2D](../topics/Position.md#introduction)
- `radius`: [Number](../topics/Number.md)

**Returns:** [Array](../topics/Array.md) of [Object](../topics/Object.md)s

### Syntax 2

```sqf
origin nearSupplies [typeName, radius]
```

**Parameters:**

- `origin`: [Object](../topics/Object.md) or [PositionAGL](../topics/Position.md#positionagl) or [Position2D](../topics/Position.md#introduction)
- `typeName`: [String](../topics/String.md)
- `radius`: [Number](../topics/Number.md)

**Returns:** [Array](../topics/Array.md) of [Object](../topics/Object.md)s

## Examples

### Example 1

```sqf
_list = player nearSupplies 50;
```

## See also

[findNearestEnemy](../commands/findNearestEnemy.md) · [nearestBuilding](../commands/nearestBuilding.md) · [nearestObject](../commands/nearestObject.md) · [nearestObjects](../commands/nearestObjects.md) · [nearObjects](../commands/nearObjects.md) · [nearestLocation](../commands/nearestLocation.md) · [nearEntities](../commands/nearEntities.md) · [nearTargets](../commands/nearTargets.md) · [nearestLocationWithDubbing](../commands/nearestLocationWithDubbing.md) · [nearObjectsReady](../commands/nearObjectsReady.md) · [nearRoads](../commands/nearRoads.md) · [nearestMines](../commands/nearestMines.md) · [getCorpse](../commands/getCorpse.md)

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