arma3_missions/helotraining.Altis/ejectSquad.sqf

15 lines
361 B
Plaintext
Raw Normal View History

2016-07-24 07:57:58 +00:00
if (!ferrying) exitWith {};
_group = _this select 0;
_vehicle = _this select 1;
deleteWaypoint [_group,1];
{_x action["eject", vehicle _x]} forEach units _group;
{unAssignVehicle _x} forEach units _group;
{_x enableAI "TARGET"; _x enableAI "AUTOTARGET";} foreach units _group;
wp = _group addwaypoint [lz1,5,1];
wp setwaypointType "MOVE";
ferrying = false;