lifting fixes

This commit is contained in:
[VB]AWOL
2014-01-22 18:07:26 -06:00
parent 44c1b62bde
commit 63ee278e82
5 changed files with 14 additions and 5 deletions

View File

@@ -36,6 +36,7 @@ while {r_doLoop} do {
_posL = getPos _liftHeli;
_posC = getPos _vehicle;
_height = (_posL select 2) - (_posC select 2);
/*
if(_height < 20) then {
if(((abs((_posL select 0) - (_posC select 0))) < 10) and ((abs((_posL select 1) - (_posC select 1))) < 10)) then {
_moved = true;
@@ -43,6 +44,7 @@ while {r_doLoop} do {
} else {
_moved = true;
};
*/
if (_isMedic) then {
_started = true;
@@ -74,10 +76,6 @@ if(_finished) then {
r_doLoop = false;
};
if ((count (crew _vehicle)) > 0) then {
r_doLoop = false;
};
if(typeName _attached == typeName false) then {
r_doLoop = false;
};