nearRoads: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
Line 29: Line 29:


<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on 26 Mar, 2011</dd>
<dd class="notedate">Posted on 26 Mar, 2011</dd>
<dt class="note">[[User:Tankbuster|Tankbuster ]]<dd class="note">
<dt class="note">[[User:Tankbuster|Tankbuster ]]<dd class="note">
NearRoads always gets data in the same order. In a 300 meter radius around Feruz Abad, for example, the first one is in the south-west corner and the last one is in the north-east.
NearRoads always gets data in the same order. In a 300 meter radius around Feruz Abad, for example, the first one is in the south-west corner and the last one is in the north-east.
<!-- Note Section END -->
</dl>
</dl>



Revision as of 00:43, 6 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Roads and AirportsObject Detection

Syntax

Syntax:
Syntax needed
Parameters:
pos: Object or Array in format PositionAGL or Position2D, center of search radius
radius: Number - search radius in meters
Return Value:
Return value needed

Examples

Example 1:
_list = player nearRoads 50;
Example 2:
_list = (position _unit) nearRoads 50;
Example 3:
_list = [1800,5700] nearRoads 50;

Additional Information

See also:
isOnRoadroadAtsurfaceIsWaterroadsConnectedTofindNearestEnemynearestBuildingnearestObjectnearestObjectsnearObjectsnearestLocationnearEntitiesnearTargetsnearSuppliesnearestLocationWithDubbingnearObjectsReadygetRoadInfonearestTerrainObjects

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
Posted on 26 Mar, 2011
Tankbuster
NearRoads always gets data in the same order. In a 300 meter radius around Feruz Abad, for example, the first one is in the south-west corner and the last one is in the north-east.