Arma 3 Scripting

Command in Object Detection

nearSupplies

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

Description

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

Syntax

Syntax 1

origin nearSupplies radius

Parameters:

Returns: Array of Objects

Syntax 2

origin nearSupplies [typeName, radius]

Parameters:

Returns: Array of Objects

Examples

Example 1

_list = player nearSupplies 50;

See also

findNearestEnemy · nearestBuilding · nearestObject · nearestObjects · nearObjects · nearestLocation · nearEntities · nearTargets · nearestLocationWithDubbing · nearObjectsReady · nearRoads · nearestMines · getCorpse