Spawn an enemy jet to patrol an AO in Arma 3

This spawns the jet in the air at an airfield and it will move to a marker named mkr1 and patrol this area.  Put this script into the initServer.sqf and this will work in your mission.

Create empty marker on map name it: mkr1

This simple script will spawn a jet to patrol an AO and attack any enemy vehicle or helicopter it sees.

// Spawn a CAS jet to patrol the AO.
 
#define PLANE_TYPE "rhs_l159_CDF","rhs_l39_cdf","rhs_mig29s_vmf","RHS_Su25SM_vvsc","RHS_T50_vvs_generic","RHS_T50_vvs_generic_ext","RHS_T50_vvs_blueonblue"
 
_plane = createVehicle [([PLANE_TYPE] call BIS_fnc_selectRandom), [0,0,0], [], 0, "FLY"];
 
_plane addEventHandler ["Fired",{
	(_this select 0) setVehicleAmmo 1
}];
 
_pilotguy = [[0,0,0], EAST, ["rhs_pilot"],[],[],[],[],[],232] call BIS_fnc_spawnGroup;
 
((units _pilotguy) select 0) moveInDriver _plane;
 
_wpcas = _pilotguy addWaypoint [getmarkerPos "aoMarker", 4500];
_wpcas setWaypointType "LOITER";
_wpcas setWaypointLoiterRadius 4500;
_wpcas setWaypointLoiterType "CIRCLE_L";
_wpcas setWaypointBehaviour "AWARE";
_wpcas setWaypointCombatMode "RED";

ant.png

Wasteland Server Name: MSOF RULE THE WASTELAND $20,000 Dollar Starts
Additional  info can be found here

MSOF Rule The Wasteland Server
Direct connect to the server is: 68.203.6.236:2302
http://marinesof.com/