nearRoads (VBS2)

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Virtual Battlespace 2 version 1.20

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 2
Version:
1.20

Description

Description:
Find the road segments within the circle of given radius.
Returned road objects are not sorted in regards to their distance to the center position.

Syntax

Syntax:
objpos nearRoads radius
Parameters:
objpos: Object or Position
radius: Number
Return Value:
Array of Objects

Examples

Example 1:
_road = player nearRoads 50

Additional Information

Multiplayer:
Behaviour unknown.
See also:
roadsConnectedTo

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!