Hi everyone!
I would like to ask about ModuleCAS_F. I found this script in some old thread:
titleText ["Open Map and Click on CAS Target location.", "PLAIN"];
["mk_omsca", "onMapSingleClick", {
titleText ["", "PLAIN"];
_mrkr = createMarker ["cas_target", _pos];
_mrkr setMarkerShape "ICON";
_mrkr setMarkerColor "Default";
_mrkr setMarkerSize [1, 1];
_mrkr setMarkerType "KIA";
_mrkr setMarkerText "CAS TARGET";
_center = createCenter sideLogic;
_group = createGroup _center;
_cas = _group createUnit ["ModuleCAS_F",_pos , [], 0, ""];
//_cas setDir 360;
_cas setVariable ["vehicle","B_Plane_CAS_01_F",true];
_cas setVariable ["type", 2,true];
//[["AirborneCommand",["Airborne Command", "A164 WipeOut, target recieved and entroute."]], "BIS_fnc_showNotification", true, false] spawn BIS_fnc_MP;
["mk_omsca", "onMapSingleClick"] call BIS_fnc_removeStackedEventHandler;
true;
}] call BIS_fnc_addStackedEventHandler;
Is there anyway it can be done by playable plane?
I've been trying to put {addSwitchableUnit _x} foreach units-command into last line of script and everything but nothing works...
What I am trying to do, is to execute gun/missile run with plane that allready exists in my team or under HighCommand.
Is this kind of action even possible?