Garry's Mod Wiki

NPC:UpdateEnemyMemory

  NPC:UpdateEnemyMemory( Entity enemy, Vector pos )

Description

Force the NPC to update information on the supplied enemy, as if it had line of sight to it.

Arguments

1 Entity enemy
The enemy to update.
2 Vector pos
The last known position of the enemy.