Garry's Mod Wiki

NPC:GetEnemyLastTimeSeen

  number NPC:GetEnemyLastTimeSeen( Entity enemy = GetEnemy() )

Description

Returns the last time an NPC's enemy was seen by the NPC.

Arguments

1 Entity enemy = GetEnemy()
The enemy to check.

Returns

1 number time
Last time the given enemy was seen.