nearRoads: Difference between revisions
Jump to navigation
Jump to search
(added see also) |
Tankbuster (talk | contribs) 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 15:51, 26 March 2011
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
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]