Skip to content

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.

HasNavmesh()

boolean

if not HasNavmesh() then Log("no navmesh: the guards walk straight lines") end

FindPath · MoveActor · the The world - clock, weather, terrain, the navmesh, the geometry group of the index