Update damage handler and improve study body

Vanilla development commits applied:

3db0fe8e7a

73a63898f1

08e18d5b52

126da2dcd3

d5fa323865

d37526fcc6

5fcca134f0

c9c1fc934d
This commit is contained in:
ebaydayz
2016-08-11 15:16:46 -04:00
parent 4019d0c351
commit 7439b87779
10 changed files with 226 additions and 179 deletions

View File

@@ -27,6 +27,13 @@ if (_unit == player) then {
localize "str_actions_exitBlocked" call dayz_rollingMessages;
};
//Lets make sure we can process some dmg from ejecting from the vehicle even traveling at lower speeds.
if (((speed _vehicle) > 15) or ((speed _vehicle) < 10)) then {
dayz_getout = _vehicle;
dayz_getoutTime = diag_tickTime;
};
};
diag_log format["%1 - %2 - %3",_vehicle,_position,_unit];
diag_log format["%1(%4) - %2 - %3",_vehicle,_position,_unit,(speed _vehicle)];