Garry's Mod Wiki

NPC:GetEnemyFirstTimeSeen

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

Description

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

Arguments

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

Returns

1 number time
First time the given enemy was seen.