Garry's Mod Wiki

Garry's Mod Wiki

  boolean NPC:HasObstacles()

Description

Returns true if the current navigation has an obstacle, this is different from NPC:GetBlockingEntity, this is for virtual navigation obstacles put by AI's local navigation system to prevent movement to the marked area, forcing NPC to steer around, for example.

Returns

1 boolean
true if the current navigation has an obstacle.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...