fixing typos

This commit is contained in:
Eero af Heurlin 2016-07-25 00:22:07 +03:00
parent c5fbb19306
commit 416d828d9d
2 changed files with 5 additions and 3 deletions

View File

@ -7,6 +7,8 @@ createDropoffLZ = compile preProcessfile "createDropoffLZ.sqf";
createSquad = compile preProcessfile "createSquad.sqf";
createEnemySquads = compile preProcessfile "createEnemySquads.sqf";
loadSquad = compile preProcessfile "loadSquad.sqf";
//ejectSquad = compile preProcessfile "ejectSquad.sqf";
deleteSquads = compile preProcessfile "deleteSquads.sqf";
playerVehicleInList = compile preProcessfile "playerVehicleInList.sqf";

View File

@ -7,8 +7,8 @@ private _fromTaskId = _this select 2;
{[_x] ordergetin true} foreach units _squad;
{_x disableAI "TARGET"; _x disableAI "AUTOTARGET";} foreach units _squad;
private wp = _squad addwaypoint [_vehicle,5,1];
wp setwaypointType "GETIN";
private _wp = _squad addwaypoint [_vehicle,5,1];
_wp setwaypointType "GETIN";
scopeName "main";
while {true} do
@ -19,7 +19,7 @@ while {true} do
// Everybody died before boarding :(
[_fromTaskId, "FAILED" ,true] spawn BIS_fnc_taskSetState;
breakOut "loadingLoop";
}
};
if ({alive _x} count units _squad == {(_x in _vehicle) && (alive _x)} count units _squad) then
{
// Boarded