Garry's Mod Wiki

Revision Difference

navmesh.GetNavAreaCount#549609

<function name="GetNavAreaCount" parent="navmesh" type="libraryfunc"> <description>Returns the highest ID of all nav areas on the map. While this can be used to get all nav areas, this number may not actually be the actual number of nav areas on the map.</description> <description>Returns the total count of nav areas on the map. If you want to get all nav areas, use <page>navmesh.GetAllNavAreas</page> instead as nav areas IDs are not always sequential.</description> <realm>Server</realm> <rets> <ret name="" type="number">The highest ID of all nav areas on the map.</ret> <ret name="" type="number">The total count of nav areas on the map.</ret> </rets> </function>