nearSupplies: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also & example formating)
No edit summary
Line 44: Line 44:
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{subst:Add new note/construct|
<!--
* Replace from here (including the arrow just above)
* Please add your note here, replacing these comments
* Please '''PREVIEW YOUR ADDITION BEFORE SAVING'''
* Thank you
* Equal symbols "=" should be added as "{{subst:=}}" (excluding quotes)
* Pipes "|" should be added as "{{subst:!}}" (excluding quotes)
* New lines should be forced by the use of "<br>" tags
* Examples should be placed between tags <code>_like {{subst:=}} [[_this]];</code>
* Replace to here (including the arrow just below)
Doesn't seem to work in (position player) nearSupplies [typeName,radius] version.
}}

Revision as of 19:22, 30 August 2014

Hover & click on the images for description

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

Notes

Bottom Section

{{subst:Add new note/construct|