Garry's Mod Wiki

NPC:HasObstacles

boolean NPC:HasObstacles()

Just Added

This was just added in the latest version (2021.03.31). It might only be available on the Dev Branch right now.

Description

Returns true if the current navigation has a obstacle, this is different from NPC:GetBlockingEntity, this includes obstacles that it can steer around.

Returns

1 boolean
true if the current navigation has a obstacle.

Page Links


Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 47
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 6