Skip to content

GetNavLinks

The nav links with an end near a point.

GetNavLinks(x, y, z, radius)
Parameter Type
x number metres
y number metres
z number metres
radius number metres

table - a list of {id, x1, y1, z1, x2, y2, z2, radius, twoWay, type, layer, persist, by, revision}, the nearest first (at most 256)

for _, l in ipairs(GetNavLinks(1281, 1093, 28, 20)) do
Log(string.format("link %d: %s, %s", l.id, l.type, l.twoWay and "both ways" or "one way"))
end

CreateNavLink · DeleteNavLink · the The server’s map group of the index