mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 18:06:32 +03:00
Added reduced bleeding based on stance
Also a fix to prevent stop animation while in vehicle.
This commit is contained in:
@@ -16,13 +16,18 @@ _anim4 = toArray _anim;
|
||||
_anim4 resize 4;
|
||||
_anim4 = toString _anim4;
|
||||
|
||||
dayz_isKneeling = false;
|
||||
dayz_isCrawling = false;
|
||||
|
||||
if (["pknl",_anim] call fnc_inString) then {
|
||||
_scaleMvmt = 0.2; //0.1;
|
||||
_scalePose = 0.6; //0.4
|
||||
} else {;
|
||||
dayz_isKneeling = true;
|
||||
} else {
|
||||
if (["ppne",_anim] call fnc_inString) then {
|
||||
_scaleMvmt = 0.3;
|
||||
_scalePose = 0.14;
|
||||
dayz_isCrawling = true;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -35,8 +40,10 @@ if (_anim4 == "aswm") then {
|
||||
if(!_isWater) then {
|
||||
|
||||
// Stops swimming in ground
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
if (vehicle player == player) then {
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
};
|
||||
// This sleep was much needed
|
||||
sleep 5;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user