nearRoads: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added see also)
No edit summary
Line 34: Line 34:
<dl class='command_description'>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
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.


Click below for picture.
[http://i156.photobucket.com/albums/t16/pauleden/gaming/nearroadsbig.jpg]
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 16:51, 26 March 2011

Hover & click on the images for description

Description

Description:
Find the road segments within the circle of given radius.
Groups:
Uncategorised

Syntax

Syntax:
pos nearRoads radius
Parameters:
pos: Array or Object - Position or object
radius: Number -
Return Value:
Array

Examples

Example 1:
_list = player nearRoads 50

Additional Information

See also:
nearRoads (VBS2)roadsConnectedTo (VBS2)roadsConnectedTo

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

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. Click below for picture. [1]

Bottom Section