Finds a route through the map road or rail network. DCS currently expects "rails" for rail routes, unlike getClosestPointOnRoads.
Network to follow.
Start X/north coordinate.
Start Y/east coordinate.
Destination X/north.
Destination Y/east.
Ordered route points.
Returns the X and Y values of a coordinate on the nearest road from the given point. NOTE that this function does not use vec2 or vec3. It uses individual values representing a vec2 for x and y.
Valid road type values: 'roads' and 'railroads'
Network to search: paved/unpaved roads or railways.
Local X/north coordinate in metres.
Local Y/east ground-plane coordinate (world Z) in metres.
X/north and Y/east coordinates of the nearest network point.
Returns the distance from sea level (y-axis) of a given vec2 point.
Ground-plane coordinate where x is north and y is east.
Terrain elevation above sea level in metres.
Returns surface elevation and water depth, both positive.
Ground-plane coordinate.
Surface elevation then seabed depth in metres.
Returns the terrain classification at a point.
Ground-plane coordinate.
Value from land.SurfaceType.
See
Authoritative executable examples
No Self