In this episode of unreal engine multiplayer first person shooter series we are going to continue with the turrets system. Last time we looked into how to setup the animation blueprint to support rotating to the direction for the target to allow shooting any direction the turret wants. Now we are going to see how to detect the enemy characters, follow them as they move around and shoot them. When an enemy character is detected, the turret will continue to turn towards them and shoot as long as the enemy character doesn't break the line of sight of the turret. Once the line of sight is broken, turret will continue to sweep through the default search path defined for that.
password=codelikeme_turrets