mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Update fn_unconscious.sqf
This commit is contained in:
@@ -8,7 +8,6 @@ r_player_unconsciousInputDisabled = true;
|
||||
disableUserInput true; //only works if disableUserInput command is issued twice for some reason...
|
||||
disableUserInput true;
|
||||
|
||||
_inVeh = player != vehicle player;
|
||||
_start = diag_tickTime;
|
||||
_timeout = abs r_player_timeout;
|
||||
_short = _timeout < 4;
|
||||
@@ -26,7 +25,7 @@ _sandLevel = ctrlPosition ((uiNamespace getVariable 'DAYZ_GUI_waiting') displayC
|
||||
|
||||
autoRunActive = false;
|
||||
|
||||
if (!_inVeh) then {
|
||||
if (!(player != vehicle player)) then {
|
||||
player playAction "CanNotMove";
|
||||
};
|
||||
"dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0;
|
||||
@@ -76,7 +75,7 @@ r_player_unconsciousInProgress = false;
|
||||
|
||||
4 cutRsc ["default", "PLAIN",1];
|
||||
|
||||
if (!_inVeh) then {
|
||||
if (!(player != vehicle player)) then {
|
||||
[nil, player, rSWITCHMOVE, "AmovPpneMstpSnonWnonDnon_healed"] call RE;
|
||||
player SWITCHMOVE "AmovPpneMstpSnonWnonDnon_healed";
|
||||
PVDZ_plr_SwitchMove = [player,"AmovPpneMstpSnonWnonDnon_healed"];
|
||||
@@ -92,4 +91,4 @@ disableUserInput false;
|
||||
disableUserInput false;
|
||||
r_player_unconsciousInputDisabled = false;
|
||||
|
||||
//diag_log [ __FILE__, diag_tickTime, "done" ];
|
||||
//diag_log [ __FILE__, diag_tickTime, "done" ];
|
||||
|
||||
Reference in New Issue
Block a user