It was simple (was in the manual):

c_trace(camera.x,vec_rotate(vector(3000,0,0),camera.pan),IGNORE_PASSABLE|ACTIVATE_SHOOT); /// trace 3000 forward

BBN