nearSupplies: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
Line 8: Line 8:
|descr= Find supplies (weapon holders, ammo crates, fuel feeds, other units) in the sphere with given radius.
|descr= Find supplies (weapon holders, ammo crates, fuel feeds, other units) in the sphere with given radius.


|s1= origin '''nearSupplies''' radius
|s1= origin [[nearSupplies]]  radius


|p1= origin: [[Object]] or [[Array]] in format [[PositionAGL]] or [[Position2D]]
|p1= origin: [[Object]] or [[Array]] in format [[PositionAGL]] or [[Position2D]]

Revision as of 17:42, 12 June 2021

Hover & click on the images for description

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 - array of Objects

Examples

Example 1:
_list = player nearSupplies 50;

Additional Information

See also:
findNearestEnemynearestBuildingnearestObjectnearestObjectsnearObjectsnearestLocationnearEntitiesnearTargetsnearestLocationWithDubbingnearObjectsReadynearRoads

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