mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Don't play anim for unconscious if in vehicle
This commit is contained in:
@@ -11,7 +11,9 @@ if ((!r_player_handler1) && (r_handlerCount == 0)) then {
|
|||||||
_timeout = 0;
|
_timeout = 0;
|
||||||
r_handlerCount = r_handlerCount + 1;
|
r_handlerCount = r_handlerCount + 1;
|
||||||
r_player_handler1 = true;
|
r_player_handler1 = true;
|
||||||
player playAction "CanNotMove";
|
if (vehicle player == player) then {
|
||||||
|
player playAction "CanNotMove";
|
||||||
|
};
|
||||||
"dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0;
|
"dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0;
|
||||||
"colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 0.1], [1, 1, 1, 0.0]];"colorCorrections" ppEffectCommit 0;
|
"colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 0.1], [1, 1, 1, 0.0]];"colorCorrections" ppEffectCommit 0;
|
||||||
0 fadeSound 0.05;
|
0 fadeSound 0.05;
|
||||||
|
|||||||
@@ -260,7 +260,9 @@ fnc_usec_recoverUncons = {
|
|||||||
sleep 1;
|
sleep 1;
|
||||||
|
|
||||||
disableUserInput false;
|
disableUserInput false;
|
||||||
[objNull,player,rSwitchMove,"AinjPpneMstpSnonWnonDnon"] call RE;
|
if (vehicle player == player) then {
|
||||||
player switchMove "AinjPpneMstpSnonWnonDnon";
|
[objNull,player,rSwitchMove,"AinjPpneMstpSnonWnonDnon"] call RE;
|
||||||
player playMoveNow "AmovPpneMstpSnonWnonDnon_healed";
|
player switchMove "AinjPpneMstpSnonWnonDnon";
|
||||||
|
player playMoveNow "AmovPpneMstpSnonWnonDnon_healed";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user