Garry's Mod Wiki

NPC:HasEnemyMemory

  boolean NPC:HasEnemyMemory( Entity enemy = GetEnemy() )

Description

Polls the enemy memory to check if the NPC has any memory of given enemy.

Arguments

1 Entity enemy = GetEnemy()
The entity to test.

Returns

1 boolean eluded
If we have any memory on given enemy.