Okay, cool. So in the player action, inside the while(1) loop, put the c_scan and stuff inside an "if(!you)" statement.
And, the temp.x value is actually the distance from the TARGET SPRITE to the enemy ship, not the player ship from the enemy ship. I just included that value so you could set the target a little in front of the enemy ship so that it doesn't look all bad. And P.S. - don't overestimate the size of quants. 120 quants is a pretty short distance.

In fact, it's as far as the target sprite is away from the enemy ship.