Garry's Mod Wiki

Revision Difference

NPC:HasObstacles#529528

<function name="HasObstacles" parent="NPC" type="classfunc">⤶ <description>Returns true if the current navigation has a obstacle, this is different from <page>NPC:GetBlockingEntity</page>, this includes obstacles that it can steer around.</description>⤶ <realm>Server</realm>⤶ <added>2021.03.31</added>⤶ <rets>⤶ <ret name="" type="boolean">`true` if the current navigation has a obstacle.</ret>⤶ </rets>⤶ </function>