Skip to content

A3D_IsWalkMeshLoaded

imshooter edited this page Oct 23, 2026 · 1 revision

Whether the navigation mesh was read. A call made while the server starts waits for it.

native bool:A3D_IsWalkMeshLoaded();

Remarks

The mesh is read on a thread of its own when the server starts, in about half a second, and a call made before that waits for it. false means there is no navmesh.db, or it could not be read. The log of the server tells which when the routes are ready. See Navigation mesh.

Example

public OnGameModeInit() {
    if (!A3D_IsWalkMeshLoaded()) {
        print("Walks keep to the paths, as there is no navigation mesh.");
    }

    return 1;
}

Related

  • A3D_GetNearestWalkPoint: Find the nearest point of the navigation mesh, where a pedestrian can stand.
  • A3D_FindRoute: Find the best route between two points along the paths of the game.

Home

Guides

Reference

Functions

Creating objects
Motion
Placement
Behaviour
Display and data
Rays
Shapes
Players, vehicles and actors
Map probes
Screen
Map objects
Water
Models and surfaces
Rotations and offsets
Vehicles
Routes
Route display
Walking
Callbacks

Clone this wiki locally