Garry's Mod Wiki

NPC:GetEnemyLastTimeSeen

number NPC:GetEnemyLastTimeSeen( 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 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

Page Links


Special Pages


Wikis

?

Render Time: 29ms

DB GetPage 3
Generate Html 5
SaveChanges (1) 11
Render Body 0
Render Sidebar 6