Garry's Mod Wiki

NPC:GetEnemyFirstTimeSeen

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

Just Added

This was just added in the latest version (2020.06.24). It might only be available on the Dev Branch right now.

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

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 4
Generate Html 6
SaveChanges (1) 9
Render Body 0
Render Sidebar 12