Garry's Mod Wiki

NPC:ClearEnemyMemory

  NPC:ClearEnemyMemory( Entity enemy = GetEnemy() )

Description

Clears the Enemy from the NPC's memory, effectively forgetting it until met again with either the NPC vision or with NPC:UpdateEnemyMemory.

Arguments

1 Entity enemy = GetEnemy()
The enemy to mark