HasNavmesh
Whether the server has the level’s navigation mesh.
[validation] navmesh names the file the operator exported from their game (the navigation guide). With it
the NPC actors walk around walls and the functions below answer; without it they answer nil / false and an actor
walks a straight line to its target.
Syntax
Section titled “Syntax”HasNavmesh()Returns
Section titled “Returns”boolean
Example
Section titled “Example”if not HasNavmesh() then Log("no navmesh: the guards walk straight lines") endSee also
Section titled “See also”FindPath · MoveActor · the The world - clock, weather, terrain, the navmesh, the geometry group of the index
