nanos world API Reference Unofficial documentation
Static function Client Moderate

Navigation.FindPathToLocation

Finds a Path given Start and End location (only if map has a NavMesh)

Syntax

Lua
Navigation.FindPathToLocation(start_location, end_location)

Parameters

Name Type Default Description
start_location Vector
end_location Vector

Returns

  • table
    Table fields
    • IsValid boolean
    • IsPartial boolean
    • Length number
    • Cost number
    • PathPoints Vector[]