nearSupplies: Difference between revisions
No edit summary |
m (see also & example formating) |
||
Line 23: | Line 23: | ||
|x1= <code>_list = (position player) nearSupplies 50 | |x1= <code>_list = ([[position]] [[player]]) [[nearSupplies]] 50;</code>|= EXAMPLE1 | ||
</code>|= EXAMPLE1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= SEEALSO | | [[findNearestEnemy]], [[nearestBuilding]], [[nearestObject]], [[nearestObjects]], [[nearObjects]], [[nearestLocation]], [[nearEntities]], [[nearTargets]], [[nearestLocationWithDubbing]], [[nearObjectsReady]], [[nearRoads]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 03:26, 30 July 2014
Description
- Description:
- Find supplies in the circle with given radius. If typeName is given, only supplies of given type (or its subtype) are listed.
- Groups:
- Uncategorised
Syntax
- Syntax:
- pos nearSupplies radius or [typeName, radius]
- Parameters:
- pos: Position
- [typeName, radius]: Array
- typeName: String
- radius: Number
- Return Value:
- Array
Examples
- Example 1:
_list = (position player) nearSupplies 50;
Additional Information
- See also:
- findNearestEnemynearestBuildingnearestObjectnearestObjectsnearObjectsnearestLocationnearEntitiesnearTargets, nearestLocationWithDubbingnearObjectsReadynearRoads
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