Garry's Mod Wiki

ai.GetNodeCount

  number ai.GetNodeCount()

Description

Returns the number of AI nodes on the map, used by the base game NPCs.

For nextbots, see navmesh.

Returns

1 number
The node count.