Code:

action car
{
while(1)
{
vec_for_angle(myfront,vector(my.pan,my.tilt,0));
vec_normalize(myfront,10);
vec_add(myfront,my.x);
trace_mode = //insert trace mode here
trace(my.x,myfront);
//and so on
}
}