Hi, im not going to explain a lot since the capx is commented.
The original code for the turret AIM-AI is just translated from the original post created by Ashley for Construct Classic, i just placed it in a C2 capx, and added the Rocket Behavior.
Not sure now what is the original original cap file but here is another post redirecting you from the one above, where the .cap is present the 1st one. the last cant be used in C2 since we dont have a "linearaaim" system expression.
Hope it helps you, i seen a lot of people requesting predictive turret aim codes in How do i section!