mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-20 15:12:56 +03:00
lifting fixes
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user