You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TheNavMesh.IsAnalyzed() native from nav.inc always returns false. On a map with an analyzed nav mesh, despite the message The nav mesh needs a full nav_analyze not appearing in the server console on map start or when the nav_load command is ran, the native returns false.
#include <sourcemod>
#include <cbasenpc>
public void OnMapStart()
{
if (!TheNavMesh.IsAnalyzed()) // always returns false
{
char mapName[128];
GetCurrentMap(mapName, sizeof(mapName));
LogError("The map \"%s\" needs a nav_analyze", mapName);
}
}
sm plugins reload nav_analyze
L 03/17/2025 - 17:19:15: [nav_analyze.smx] The map "rf2_sawmill_r1" needs a nav_analyze
[SM] Plugin nav_analyze.smx reloaded successfully.
nav_load
L 03/17/2025 - 17:19:20: [CBASENPC] Parsed 2215 nav areas.
The text was updated successfully, but these errors were encountered:
TheNavMesh.IsAnalyzed()
native fromnav.inc
always returns false. On a map with an analyzed nav mesh, despite the messageThe nav mesh needs a full nav_analyze
not appearing in the server console on map start or when thenav_load
command is ran, the native returns false.The text was updated successfully, but these errors were encountered: