Garry's Mod Wiki

NPC:HasEnemyEluded

boolean NPC:HasEnemyEluded( 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

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

Page Links


Special Pages


Wikis

?

Render Time: 24ms

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