Garry's Mod Wiki

NEXTBOT:OnNavAreaChanged

  NEXTBOT:OnNavAreaChanged( CNavArea old, CNavArea new )

Description

Called when the nextbot enters a new navigation area.

Arguments

1 CNavArea old
The navigation area the bot just left
2 CNavArea new
The navigation area the bot just entered