Skip to content

Commit

Permalink
Fix assault heli RTB too soon
Browse files Browse the repository at this point in the history
  • Loading branch information
StefArma committed Feb 28, 2018
1 parent ddfd41f commit d744f35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AntistasiOfficial.Altis/CREATE/combinedCA.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ if !(_airport == "") then {
_allVehicles pushBack _vehicle;

if !(_vehicleType in heli_unarmed) then {
[_vehicleGroup, _originPosition, _markerPos, 400, 60] spawn AS_fnc_QRF_loiter;
[_vehicleGroup, _originPosition, _markerPos, 400, 2400] spawn AS_fnc_QRF_loiter;
[_vehicle,"Air Attack"] spawn inmuneConvoy;
} else {
_seats = ([_vehicleType,true] call BIS_fnc_crewCount) - ([_vehicleType,false] call BIS_fnc_crewCount);
Expand All @@ -283,7 +283,7 @@ if !(_airport == "") then {
_helipad = createVehicle ["Land_HelipadEmpty_F", _dismountPosition, [], 0, "NONE"];
_allVehicles = _allVehicles + [_helipad];

[_vehicleGroup, _originPosition, _dismountPosition, _marker, _group, 60*60, "air"] spawn AS_fnc_QRF_dismountTroops;
[_vehicleGroup, _originPosition, _dismountPosition, _marker, _group, 2400, "air"] spawn AS_fnc_QRF_dismountTroops;
[_vehicle,"Air Transport"] spawn inmuneConvoy;
} else {
_groupType = [infSquad, side_green] call AS_fnc_pickGroup;
Expand All @@ -294,7 +294,7 @@ if !(_airport == "") then {
{_x assignAsCargo _vehicle;_x moveInCargo _vehicle} forEach units _groupTwo;
_allGroups pushBack _groupTwo;
_dismountPosition = [_markerPos, 150, 300, 10, 0, 0.3, 0] call BIS_Fnc_findSafePos;
[_vehicleGroup, _spawnPosition, _dismountPosition, _marker, [_group, _groupTwo], 60*60] spawn AS_fnc_QRF_fastrope;
[_vehicleGroup, _spawnPosition, _dismountPosition, _marker, [_group, _groupTwo], 2400] spawn AS_fnc_QRF_fastrope;
};
};

Expand Down

0 comments on commit d744f35

Please sign in to comment.