nearSupplies
Jump to navigation
Jump to search
Description
- Description:
- Find supplies (weapon holders, ammo crates, fuel feeds, other units) in the sphere with given radius.
- Groups:
- Object Detection
Syntax
- Syntax:
- origin nearSupplies radius
- Parameters:
- origin: Object or Array in format PositionAGL or Position2D
- radius: Number
- Return Value:
- Array of Objects
Alternative Syntax
- Syntax:
- origin nearSupplies [typeName, radius]
- Parameters:
- origin: Object or Array in format PositionAGL or Position2D
- typeName: String
- radius: Number
- Return Value:
- Array of Objects
Examples
- Example 1:
Additional Information
- See also:
- findNearestEnemy nearestBuilding nearestObject nearestObjects nearObjects nearestLocation nearEntities nearTargets nearestLocationWithDubbing nearObjectsReady nearRoads nearestMines getCorpse
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note