Garry's Mod Wiki

NPC:GetEnemyLastKnownPos

Vector NPC:GetEnemyLastKnownPos( 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 known position of an NPC's enemy.

Arguments

1 Entity enemy = GetEnemy()
The enemy to check

Returns

1 Vector pos
The last known position

Page Links


Special Pages


Wikis

?

Render Time: 72ms

DB GetPage 40
Generate Html 10
SaveChanges (1) 8
Render Body 0
Render Sidebar 13