Garry's Mod Wiki

Garry's Mod Wiki

  boolean NPC:IsUnreachable( Entity testEntity )

Description

Returns true if the entity was remembered as unreachable. The memory is updated automatically from following engine tasks if they failed:

  • TASK_GET_CHASE_PATH_TO_ENEMY
  • TASK_GET_PATH_TO_ENEMY_LKP
  • TASK_GET_PATH_TO_INTERACTION_PARTNER
  • TASK_ANTLIONGUARD_GET_CHASE_PATH_ENEMY_TOLERANCE
  • SCHED_FAIL_ESTABLISH_LINE_OF_FIRE - Combine NPCs, also when failing to change their enemy

Arguments

1 Entity testEntity
The entity to test.

Returns

1 boolean
If the entity is reachable or not.

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 four times a day. Edits and history are not available.

Last Parsed: Loading...