Update fn_unconscious.sqf

This commit is contained in:
icomrade
2016-09-14 18:01:18 -04:00
committed by GitHub
parent 0802ecc0ed
commit b609dcf519

View File

@@ -8,7 +8,6 @@ r_player_unconsciousInputDisabled = true;
disableUserInput true; //only works if disableUserInput command is issued twice for some reason... disableUserInput true; //only works if disableUserInput command is issued twice for some reason...
disableUserInput true; disableUserInput true;
_inVeh = player != vehicle player;
_start = diag_tickTime; _start = diag_tickTime;
_timeout = abs r_player_timeout; _timeout = abs r_player_timeout;
_short = _timeout < 4; _short = _timeout < 4;
@@ -26,7 +25,7 @@ _sandLevel = ctrlPosition ((uiNamespace getVariable 'DAYZ_GUI_waiting') displayC
autoRunActive = false; autoRunActive = false;
if (!_inVeh) then { if (!(player != vehicle player)) then {
player playAction "CanNotMove"; player playAction "CanNotMove";
}; };
"dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0; "dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0;
@@ -76,7 +75,7 @@ r_player_unconsciousInProgress = false;
4 cutRsc ["default", "PLAIN",1]; 4 cutRsc ["default", "PLAIN",1];
if (!_inVeh) then { if (!(player != vehicle player)) then {
[nil, player, rSWITCHMOVE, "AmovPpneMstpSnonWnonDnon_healed"] call RE; [nil, player, rSWITCHMOVE, "AmovPpneMstpSnonWnonDnon_healed"] call RE;
player SWITCHMOVE "AmovPpneMstpSnonWnonDnon_healed"; player SWITCHMOVE "AmovPpneMstpSnonWnonDnon_healed";
PVDZ_plr_SwitchMove = [player,"AmovPpneMstpSnonWnonDnon_healed"]; PVDZ_plr_SwitchMove = [player,"AmovPpneMstpSnonWnonDnon_healed"];