//Create plane and pilot
A10squad = CreateGroup West;
plane = createVehicle ["A10", [(getMarkerPos "a10_spawn") select 0,(getMarkerPos "a10_spawn") select 1, 350], [], 500, "FLY"];
pilot = A10squad createUnit ["USMC_Soldier_Pilot", [0,0,1], [], 0, "CAN_COLLIDE"];
pilot moveInDriver plane;
pilot setSkill 1;
plane FlyInHeight 200;
//Set target
plane setBehaviour "RED";
plane selectWeapon "BombLauncherA10";
plane doTarget trg;
plane doWatch trg;
plane doFire trg;
//Waypoints
wp1 = A10squad addWaypoint [(getmarkerpos "a10_target"), 0];
wp1 setWaypointSpeed "NORMAL";
wp1 setWaypointType "MOVE";
wp2 = A10squad addWaypoint [(getmarkerpos "a10_end"), 0];
wp2 setWaypointSpeed "NORMAL";
wp2 setWaypointType "MOVE";
exit