Here's the action code:

Code:
action bomber_target
{
	wait(1);
	c_setminmax(my);
	my.fat=off;
	my.narrow=on;
	
	plane = me;
	
	my.transparent = on;
	my.alpha = 100;

	my.enable_shoot = on; 
	my.event = my_hit;
	
	ent_handle[my.ent_id] = handle(me);
	
	if(my.my_path==1){
		path_set(my, "path_001");	
	}
	if(my.my_path==2){
		path_set(my, "path_002");	
	}
	if(my.my_path==3){
		path_set(my, "path_003");	
	}
	if(my.my_path==4){
		path_set(my, "path_004");	
	}
	if(my.my_path==5){
		path_set(my, "path_005");	
	}
	
	path_getnode(my,my.start_node,my.temp1_posx, null);

	move_bomber();
	
	while(1)
	{
		my.path_dist = vec_dist(my.x, my.temp1_posx);  // close to node?
		
		if(my.path_dist < 85)
		{
			my.start_node = path_nextnode(my,my.skill2,1);
			if(my.start_node == 0) {
				my.start_node = 1;
			} 
			//if the last node was reached, start again with the first one
			path_getnode(my,my.start_node,my.temp1_posx, null);
			vec_to_angle(my.temp__pan,vec_diff(my.temp2_posx,my.temp1_posx,my.x));		
		}
		
		wait(1);
	}
}