Arma 3 Scripting

nearSupplies

  • Arma 3 v0.50

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