Garry's Mod Wiki

NPC:HasEnemyEluded

  boolean NPC:HasEnemyEluded( Entity enemy = GetEnemy() )

Description

Polls the enemy memory to check if the given entity has eluded us or not.

Arguments

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

Returns

1 boolean eluded
If the enemy has eluded us.