Mando Bombs (mando_basic_airsupport.sqf)

By Mandoble

mando_basic_airsupport.sqf

If you dont provide an existing plane, the script creates one. The plane will perform a free fall or SADARM air support against targets located within 500m from the indicated air support coordiantes. If the plane was spawned by the script, it will be deleted few seconds after support mission ends.

This script requires the presence of mando_bombs.sqf, mando_bombs_effects.sqf and mando_bombs_sadarm.sqf.
 

Script parameter Description
Air support center position Targets will be automatically selected within a radius of 500m of this position.
Plane Plane to perform the attack or objNull if the script should create it.
Friendly side Side of the attacking plane.
Number of attacks Number of attacks in the air support mission. One plane in an air support mission will execute up to this number of attacks before leaving the area.
SADARM attack? true/false. If false, free fall bomb run will be performed, else SADARMs will be used.
Plane class The class of the plane you want to be spawned by the script if second parameter is objNull.

Examples:
scr = [_pos, objNull, side player, 3, false, "AV8B2"]execVM"mando_bombs\Mando_basic_airsupport.sqf";

If you want to modify ingress direction or range open Mando_basic_airsupport.sqf and change _ang = 180 and/or 4500 (default range from target for spawned planes) four lines below.