Garry's Mod Wiki

NPC:HasEnemyMemory

boolean NPC:HasEnemyMemory( 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 NPC has any memory of given enemy.

Arguments

1 Entity enemy = GetEnemy()
The entity to test

Returns

1 boolean eluded
If we have any memory on given enemy

Page Links


Special Pages


Wikis

?

Render Time: 41ms

DB GetPage 7
Generate Html 9
SaveChanges (1) 15
Render Body 0
Render Sidebar 8