Mando Bombs (mando_basic_bombrun.sqf)

By Mandoble

mando_basic_bombrun.sqf

If you dont provide an existing plane, the script creates one. The plane will perform a free fall or SADARM bomb run against indicated coordinates. If the plane was spawned by the script, it will be deleted few seconds after the bomb run ends.

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

Script parameter Description
Attack position The position to be attacked.
Plane Plane to perform the attack or objNull if the script should create it.
Friendly side Side of the attacking plane.
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:


res = [_pos, objNull, side player, false, "AV8B2"]execVM"mando_bombs\mando_basic_bombrun.sqf"


or


res = [_pos, my_existing_plane, side player, false, ""]execVM"mando_bombs\mando_basic_bombrun.sqf"

 

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