Garry's Mod Wiki

NPC:MarkTookDamageFromEnemy

  NPC:MarkTookDamageFromEnemy( Entity enemy = nil )

Description

Marks the NPC as took damage from given entity.

See also NPC:GetLastTimeTookDamageFromEnemy.

Arguments

1 Entity enemy = nil
The enemy to mark. Defaults to currently active enemy (NPC:GetEnemy)