NPC target leading
NPCs use one of the most basic "smart" aiming methods whereby they lead the thing they want to shoot at, so if they continue in their current direction at current speed, they'll have assured hit. However, it is not required they always use this.
Alternate name: NPC predictive aiming
The first video game about NPC target leading was released on November 2, 1998.