Garry's Mod Wiki

NPC:GetEnemyLastSeenPos

  Vector NPC:GetEnemyLastSeenPos( Entity enemy = GetEnemy() )

Description

Returns the last seen position of an NPC's enemy.

Similar to NPC:GetEnemyLastKnownPos, but the known position will be a few seconds ahead of the last seen position.

Arguments

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

Returns

1 Vector pos
The last seen position.