Garry's Mod Wiki

NPC:IgnoreEnemyUntil

  NPC:IgnoreEnemyUntil( Entity enemy, number until )

Description

Makes the NPC ignore given entity/enemy until given time.

Arguments

1 Entity enemy
The enemy to ignore.
2 number until
How long to ignore the enemy for. This will be compared to CurTime, so your value should be based on it.