Thanks so far for your help. I tried pasting this in several different spots in aiDumBided.wdl but keep getting errors. I feel I almost have the solution!

action duck_fly
{
while(1)
{
wait(1);
c_move(me,vector(5 * time, 0, 0),nullvector,IGNORE_YOU|GLIDE);
if(key_l)
{
vec_to_angle(my.pan,node.pos);
}
}
}