Mando Bombs (mando_airsupport_nodlg.sqf)

By Mandoble

mando_airsupport_nodlg.sqf

Provides same missios as mando_airsupportdlg.sqf (except reconnaissance) but use direct script arguments instead of dialog interface and uses the same global vars except that number of missions left per type is not considered.
 

Script parameter Description

Mission type

"CALL_GUNSHIPS" -> A pair of planes or choppers will come to seek and destroy over target position.

"CALL_PARAS" -> A chopper or plane will drop an infantry group over target position, that group will SD and hold the position.

"CALL_REINF" -> A chopper or plane will grop an infantry group and this group will join the provided leader

"CALL_EVAC" -> A chopper will land at target position, will wait for units boarding it and then will take them to destination position

"CALL_AMMO" -> A chopper or plane will aproach target position and will drop a pair of ammo boxes in chutes.

"CALL_VEH" -> A chopper or plane will aproach target position and will drop the indicated empty vehicle type there.

"CALL_CAP" -> A pair of planes will sweep the target postion and will keep holding this position.

"CALL_LASER" -> A plane will aproach to target position and will provide laser guided bombs support.

"CALL_CRUISEMISSILE" -> The missile launcher will fire a missile against target position (requires Mando Missile ArmA and mando_airsupport_cmissile and mando_airsupport_cmissile_pos globals defined).

"CALL_MISSILESAT" -> The target area will be scanned and the missile launcher will fire two missiles per detected target (requires Mando Missile ArmA and mando_airsupport_cmissile and mando_airsupport_cmissile_pos globals defined).

Target position

Map position. Planes, choppers and missiles will go there to provide support/strike.

Start position

Where the planes and choppers will be spawned.

Destination position

Destination position for evacuation missions, [0,0,0] for any other mission.

Side

The friendly side of the mission.

Leader

leader unit for reinforcement missions (reinforcements group will join him), else objNull or anyother unit.

Vehicle class

Class of vehicle for CALL_VEH missions, else "".

Before executing this script you may set the desired values for the global variables listed for the dialog based script, if you dont, default values will be used.

Examples:


["CALL_GUNSHIPS", getPos player, getMarkerPos "mk_start", [0,0,0], side player, objNull,""] execVM"mando_bombs\mando_airsupport_nodlg.sqf";

["CALL_REINF", getPos player, getMarkerPos "mk_start", [0,0,0],side player, player, ""]execVM"mando_bombs\mando_airsupport_nodlg.sqf";

["CALL_CAP", getPos player, getMarkerPos "mk_start", getMarkerPos "mk_dest",side player, objNull,""] execVM"mando_bombs\mando_airsupport_nodlg.sqf";

["CALL_VEH", getPos player, getMarkerPos "mk_start", getMarkerPos "mk_dest",side player, objNull,"M113"] execVM"mando_bombs\mando_airsupport_nodlg.sqf";