nearSupplies: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| origin '''nearSupplies''' radius |= Syntax
| origin '''nearSupplies''' radius |SYNTAX=


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

Revision as of 15:44, 7 April 2019

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:
Uncategorised

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