nearSupplies: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 6: Line 6:
|0.50|Game version=
|0.50|Game version=


|gr1= World Information |GROUP1=
|gr1= Object Detection |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 10:51, 25 September 2020

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

Notes

Bottom Section